/*
  Claude-inspired clean data layout r2
  目标：减少重复标签、统一专业行操作区、修复中外合作详情弹层可见性。
*/
:root{
  --paper:#fbf7ef;
  --paper-2:#f3eadc;
  --ink:#1b1712;
  --muted:#6f675f;
  --line:#e1d3c1;
  --accent:#b65a3f;
  --accent-soft:#f3d8cb;
  --tag:#fffaf2;
  --tag-line:#dcc7b0;
  --tag-text:#453a31;
  --blue-row:#eef5ff;
}

/* 专业组：标签只承担“风险/变化/中外详情”提示，不再堆砌属性词 */
.group-section .group-head{
  gap:18px!important;
  align-items:flex-start!important;
}
.group-section .group-head-main{
  max-width:100%!important;
}
.group-head p{
  margin:6px 0 12px!important;
  color:#73685e!important;
  font-size:14px!important;
  line-height:1.58!important;
}
.group-head .tag-row,
.group-card .tag-row{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px 8px!important;
  align-items:center!important;
  margin:8px 0 12px!important;
}
.group-head .tag-row:empty,
.group-card .tag-row:empty{display:none!important;}
.tag-row .tag,
.tag-row .badge,
.major-actions-clean .anno-mini{
  white-space:nowrap!important;
}
.tag-row .compact-stat{
  color:#6d6259!important;
  background:#fffaf2!important;
  border-color:#e2d2bd!important;
}
.group-card .tag-row .compact-stat:nth-of-type(n+2){display:none!important;}
.group-card .anno-actions,
.group-section .anno-actions{
  display:flex!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  margin-top:6px!important;
}
.group-card .anno-actions .anno-btn,
.group-section .anno-actions .anno-btn,
.group-card .anno-actions .volunteer-btn,
.group-section .anno-actions .volunteer-btn{
  min-height:28px!important;
  padding:4px 10px!important;
  border-radius:999px!important;
  font-size:12px!important;
}

.group-cards{
  gap:12px!important;
  grid-template-columns:repeat(auto-fill,minmax(208px,1fr))!important;
}
.group-card{
  padding:12px!important;
  border-radius:14px!important;
  position:relative!important;
  overflow:visible!important;
}
.group-card-head{
  gap:6px!important;
  margin-bottom:8px!important;
}
.group-card h3{
  font-size:15px!important;
  line-height:1.16!important;
}
.group-card .group-name-label{
  display:block!important;
  margin-left:0!important;
  margin-top:3px!important;
  font-size:12px!important;
}
.group-card .grid{
  gap:6px!important;
}
.group-card .mini{
  padding:6px 7px!important;
  border-radius:10px!important;
}
.group-card .mini b{
  font-size:18px!important;
  line-height:1!important;
}
.group-card .mini span{
  font-size:10px!important;
}
.group-card .tag-row{
  gap:5px 6px!important;
  margin:6px 0 8px!important;
}
.group-card .tag-row .tag,
.group-card .tag-row .badge,
.group-card .tag-row .compact-stat,
.group-card .tag-row .segmented-mode-badge{
  padding:3px 7px!important;
  font-size:10px!important;
}
.segmented-mode-badge{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid transparent!important;
  border-radius:999px!important;
  padding:4px 9px!important;
  font-size:11px!important;
  font-weight:950!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
.segmented-mode-three{
  border-color:#bfdbfe!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
}
.segmented-mode-five{
  border-color:#fed7aa!important;
  background:#fff7ed!important;
  color:#c2410c!important;
}
.segmented-mode-four{
  border-color:#ddd6fe!important;
  background:#f5f3ff!important;
  color:#6d28d9!important;
}
.segmented-mode-general{
  border-color:#cbd5e1!important;
  background:#f8fafc!important;
  color:#475569!important;
}
.major-name .segmented-mode-badge{
  margin-left:5px!important;
  padding:2px 7px!important;
  font-size:11px!important;
  vertical-align:middle!important;
}
.group-card .anno-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.group-card .anno-actions .anno-btn,
.group-card .anno-actions .volunteer-btn{
  justify-content:center!important;
  width:100%!important;
}
.group-card .change-btn{
  padding:4px 8px!important;
  font-size:10px!important;
}
.group-section{
  margin-bottom:12px!important;
}
.group-head{
  padding:14px 16px!important;
}

/* 表格：减少“图标+标签+按钮”挤在一行的拥堵感 */
.table-wrap table{
  table-layout:fixed!important;
  width:100%!important;
}
.table-wrap th:nth-child(1){width:72px!important;}
.table-wrap th:nth-child(2){width:58px!important;}
.table-wrap th:nth-child(3){width:45%!important;}
.table-wrap th:nth-child(4){width:12%!important;}
.table-wrap th:nth-child(5){width:10%!important;}
.table-wrap th:nth-child(6){width:11%!important;}
.table-wrap th:nth-child(7){width:13%!important;}
.table-wrap th,
.table-wrap td{
  vertical-align:top!important;
  padding-top:10px!important;
  padding-bottom:10px!important;
}
.table-wrap th{
  color:#6f6358!important;
  font-weight:700!important;
  letter-spacing:.02em!important;
  white-space:nowrap!important;
}
.major-name{
  min-width:0!important;
  white-space:normal!important;
}
.major-title-line{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:5px 8px!important;
  line-height:1.45!important;
}
.major-name-text{
  display:inline!important;
  color:#17130f!important;
  font-weight:700!important;
  line-height:1.52!important;
}
.major-name-link{
  appearance:none!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  margin:0!important;
  color:#17130f!important;
  font:inherit!important;
  font-weight:800!important;
  line-height:1.45!important;
  text-align:left!important;
  text-decoration:none!important;
  cursor:pointer!important;
  pointer-events:auto!important;
  box-shadow:none!important;
}
.major-name-link:hover,
.major-name-link:focus-visible{
  color:#0a7c42!important;
  outline:none!important;
}
.major-inline-actions{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin-left:auto!important;
}
.major-inline-actions .anno-mini{
  margin:0!important;
  min-height:24px!important;
  padding:3px 9px!important;
  border-radius:999px!important;
  border:1px solid #d9c5ad!important;
  background:#fffaf2!important;
  color:#312820!important;
  font-size:11px!important;
  font-family:var(--claude-sans,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"PingFang SC",sans-serif)!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
.major-inline-actions .foreign-coop-detail-btn{
  border-color:#c36a4f!important;
  background:#f8e0d3!important;
  color:#8d3823!important;
}
.major-inline-actions .foreign-coop-detail-btn::after{
  content:" ↗";
  font-weight:700;
}
.major-basic-line{display:none!important;}
.major-class-stack{
  line-height:1.42!important;
  white-space:normal!important;
}
.major-class-stack .muted{
  display:none!important;
}
.major-score-cell{
  white-space:nowrap!important;
}
.major-avg-cell{
  min-width:150px!important;
}
.avg-years-inline{
  display:inline!important;
  margin-left:4px!important;
  font-size:11px!important;
  white-space:nowrap!important;
}
.foreign-coop-major-badge{display:none!important;}
.major-detail-mini{opacity:.92!important;}
.note-badge{
  background:#fff6e8!important;
  color:#725b47!important;
  border:1px solid #e5ccb2!important;
}

/* 降低悬浮备注面板的干扰，不再压住主表格 */
.note-panel{
  max-width:360px!important;
  right:28px!important;
  bottom:92px!important;
  top:auto!important;
  left:auto!important;
  border:1px solid rgba(98,68,44,.18)!important;
  box-shadow:0 18px 48px rgba(62,40,23,.18)!important;
  background:rgba(255,250,242,.98)!important;
  color:#352b23!important;
  border-radius:14px!important;
  font-family:var(--claude-serif,Georgia,"Songti SC",serif)!important;
}
.note-panel h4{display:none!important;}
#notePanelText{
  font-size:13px!important;
  line-height:1.64!important;
}

/* 中外合作详情弹层：点击后第一屏必须看见核心信息 */
.modal.open,
#modalMask.open{display:flex!important;}
.modal,
#modal{
  max-width:min(980px,92vw)!important;
}
.modal h3{
  margin-bottom:10px!important;
}
.modal-body{
  max-height:72vh!important;
  overflow:auto!important;
}
.foreign-coop-hero{
  display:block!important;
  margin:14px 0 18px!important;
  padding:20px!important;
  border:1px solid #d79b7d!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#fff7ed 0%,#f5d6c7 100%)!important;
  box-shadow:0 18px 42px rgba(143,74,48,.12)!important;
}
.foreign-coop-hero-title{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin-bottom:14px!important;
  border-bottom:1px solid rgba(143,74,48,.18)!important;
  padding-bottom:10px!important;
}
.foreign-coop-hero-title h4{
  margin:0!important;
  font-size:22px!important;
  color:#1b1712!important;
}
.foreign-coop-hero-title span{
  color:#8d533d!important;
  font-size:13px!important;
  font-family:var(--claude-sans,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"PingFang SC",sans-serif)!important;
}
.foreign-coop-hero-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
.foreign-coop-hero-grid div{
  padding:12px!important;
  border:1px solid rgba(126,83,51,.16)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.55)!important;
  min-width:0!important;
}
.foreign-coop-hero-grid b{
  display:block!important;
  margin-bottom:4px!important;
  color:#85604a!important;
  font-size:12px!important;
  font-family:var(--claude-sans,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"PingFang SC",sans-serif)!important;
}
.foreign-coop-hero-grid span{
  display:block!important;
  color:#1f1711!important;
  font-size:14px!important;
  line-height:1.58!important;
  word-break:break-word!important;
}
.foreign-coop-info-section{
  border-color:#d79b7d!important;
  background:#fffaf2!important;
}
.major-plan-info-section{
  border-color:#bfd7ff!important;
  background:#f8fbff!important;
}
.info-section h4{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.major-plan-info-section h4::before{
  content:"EXCEL";
  display:inline-flex;
  align-items:center;
  height:20px;
  padding:0 7px;
  border:1px solid #a9c8ff;
  border-radius:999px;
  color:#1d4ed8;
  font-size:10px;
  font-family:var(--claude-sans,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"PingFang SC",sans-serif);
}
.foreign-coop-info-section h4::before{
  content:"COOP";
  display:inline-flex;
  align-items:center;
  height:20px;
  padding:0 7px;
  border:1px solid #d79b7d;
  border-radius:999px;
  color:#8d3823;
  font-size:10px;
  font-family:var(--claude-sans,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"PingFang SC",sans-serif);
}
.info-kv dd{
  white-space:pre-wrap!important;
  word-break:break-word!important;
}

/* 页面底部说明弱化 */
.footer{
  color:#95897b!important;
  font-size:13px!important;
}

@media (max-width:1100px){
  .foreign-coop-hero-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .table-wrap th:nth-child(3){width:42%!important;}
  .group-cards{grid-template-columns:repeat(auto-fill,minmax(188px,1fr))!important;}
}
@media (max-width:760px){
  .foreign-coop-hero-grid{grid-template-columns:1fr!important;}
  .group-cards{grid-template-columns:1fr 1fr!important;}
  .major-inline-actions{margin-left:0!important;}
}
@media (max-width:560px){
  .group-cards{grid-template-columns:1fr!important;}
}

/* 志愿专业池统一收口：已选/未选使用同一套紧凑组件，避免旧样式叠加错位 */
.volunteer-panel,
.volunteer-panel *{
  font-family:var(--claude-sans,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"PingFang SC","Microsoft YaHei",sans-serif)!important;
}
.volunteer-panel .volunteer-major-col{
  background:#fffdf8!important;
}
.volunteer-panel .volunteer-selected-summary{
  display:block!important;
}
.volunteer-panel .volunteer-major-strip,
.volunteer-panel .volunteer-major-grid.compact-grid{
  gap:6px!important;
}
.volunteer-panel .volunteer-major-strip{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  margin:0 0 7px!important;
}
.volunteer-panel .volunteer-major-strip-item,
.volunteer-panel .volunteer-major-grid.compact-grid .major-check{
  min-height:42px!important;
  border:1px solid #e2d5c4!important;
  border-radius:10px!important;
  background:#fffdf8!important;
  box-shadow:none!important;
  padding:6px 8px!important;
  color:#211a13!important;
}
.volunteer-panel .volunteer-major-strip-item{
  grid-template-columns:20px minmax(0,1fr) auto!important;
  gap:6px!important;
}
.volunteer-panel .volunteer-major-grid.compact-grid{
  grid-template-columns:repeat(2,minmax(230px,1fr))!important;
  margin-top:6px!important;
}
.volunteer-panel .volunteer-major-grid.compact-grid .major-check{
  display:grid!important;
  grid-template-columns:16px 20px minmax(0,1fr)!important;
  align-items:start!important;
  column-gap:6px!important;
  row-gap:2px!important;
}
.volunteer-panel .major-check.selected,
.volunteer-panel .major-check.risk,
.volunteer-panel .major-check.risk-tone-red,
.volunteer-panel .major-check.risk-tone-orange,
.volunteer-panel .major-check.risk-tone-yellow,
.volunteer-panel .major-check.risk-tone-blue,
.volunteer-panel .major-check.risk-tone-gray{
  background:#fffdf8!important;
}
.volunteer-panel .major-check.selected,
.volunteer-panel .volunteer-major-strip-item{
  border-color:#d4c2ae!important;
}
.qualification-blocked-row td{
  background:#fff0ee!important;
}
.volunteer-panel .major-check.qualification-blocked,
.major-check.qualification-blocked{
  border-color:#fecaca!important;
  background:#fff7f6!important;
  color:#9f241b!important;
  opacity:.78!important;
}
.volunteer-panel .major-check.qualification-blocked input,
.major-check.qualification-blocked input{
  cursor:not-allowed!important;
}
.volunteer-panel .major-check input{
  width:14px!important;
  height:14px!important;
  margin:2px 0 0!important;
  accent-color:#111!important;
}
.volunteer-panel .major-order-badge,
.volunteer-panel .major-order-placeholder{
  width:20px!important;
  min-width:20px!important;
  height:20px!important;
  margin:0!important;
  border-radius:999px!important;
  font-size:11px!important;
  line-height:1!important;
}
.volunteer-panel .major-order-badge{
  background:#17120e!important;
  color:#fff!important;
}
.volunteer-panel .major-order-placeholder{
  background:transparent!important;
}
.volunteer-panel .volunteer-major-name,
.volunteer-panel .volunteer-pool-major-body{
  min-width:0!important;
}
.volunteer-panel .volunteer-pool-major-body{
  display:grid!important;
  gap:2px!important;
  grid-column:3!important;
}
.volunteer-panel .volunteer-major-name b,
.volunteer-panel .volunteer-pool-major-top{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-width:0!important;
  line-height:1.25!important;
}
.volunteer-panel .volunteer-major-name b,
.volunteer-panel .volunteer-pool-major-top b,
.volunteer-panel .major-name-text{
  color:#211a13!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.25!important;
  min-width:0!important;
}
.volunteer-panel .volunteer-major-name b .major-name-text,
.volunteer-panel .volunteer-pool-major-top b{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.volunteer-panel .volunteer-major-name small,
.volunteer-panel .volunteer-pool-major-body small,
.volunteer-panel .volunteer-major-grid.compact-grid .major-check small{
  grid-column:auto!important;
  display:block!important;
  margin:1px 0 0!important;
  padding:0!important;
  color:#71685f!important;
  font-size:10.5px!important;
  line-height:1.25!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.volunteer-panel .risk-label,
.volunteer-panel .medical-risk-label,
.volunteer-panel .qualification-risk-label{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:86px!important;
  height:18px!important;
  margin:0!important;
  padding:0 6px!important;
  border-radius:999px!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:800!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.volunteer-panel .risk-label.assassin{
  color:#a33a2a!important;
  background:#fff3ee!important;
  border:1px solid #efc5b7!important;
}
.volunteer-panel .medical-risk-label{
  color:#b45309!important;
  background:#fff7ed!important;
  border:1px solid #f2d2a9!important;
}
.qualification-risk-label{
  display:inline-flex;
  align-items:center;
  min-height:20px;
  margin-left:6px;
  padding:3px 7px;
  border-radius:999px;
  border:1px solid #f4d3a3;
  background:#fff8e8;
  color:#92400e;
  font-size:11px;
  font-weight:900;
  line-height:1.1;
  vertical-align:middle;
  white-space:nowrap;
}
.qualification-risk-label.qualification-red,
.qualification-group-badge.qualification-red{
  border-color:#fecaca!important;
  background:#fff0ee!important;
  color:#b42318!important;
}
.qualification-risk-label.qualification-orange,
.qualification-group-badge.qualification-orange{
  border-color:#fed7aa!important;
  background:#fff7ed!important;
  color:#c2410c!important;
}
.qualification-risk-label.qualification-yellow,
.qualification-group-badge.qualification-yellow{
  border-color:#fde68a!important;
  background:#fffbeb!important;
  color:#92400e!important;
}
.qualification-risk-label.qualification-blue,
.qualification-group-badge.qualification-blue{
  border-color:#bfdbfe!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
}
.batch-guide-badge{
  display:inline-flex!important;
  align-items:center!important;
  margin-left:6px!important;
  padding:3px 8px!important;
  border:1px solid #f7c08a!important;
  border-radius:999px!important;
  background:#fff7ed!important;
  color:#9a3412!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
.batch-guide-btn{
  border:1px solid #f7c08a!important;
  border-radius:999px!important;
  background:#fffaf2!important;
  color:#8a3a17!important;
  padding:6px 10px!important;
  font-size:12px!important;
  font-weight:900!important;
}
.batch-channel-summary{
  display:grid!important;
  gap:10px!important;
  margin:0 0 12px!important;
  padding:12px!important;
  border:1px solid #f3c99e!important;
  border-radius:16px!important;
  background:#fff7ed!important;
}
.batch-channel-summary strong{display:block!important;color:#7c2d12!important}
.batch-channel-summary span{font-size:12px!important;color:#7f5b45!important}
.batch-channel-items{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
.batch-channel-items button{
  display:inline-grid!important;
  gap:2px!important;
  border:1px solid #efb076!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#7c2d12!important;
  padding:8px 10px!important;
  text-align:left!important;
}
.batch-channel-warn{margin:0!important;color:#b42318!important;font-size:12px!important;font-weight:900!important}
.volunteer-guide-line{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  color:#7c2d12!important;
  font-size:12px!important;
  font-weight:900!important;
}
.batch-guide-card h4{margin:4px 0 10px!important;font-size:22px!important}
.batch-guide-card h5{margin:16px 0 8px!important;font-size:14px!important}
.batch-guide-eyebrow{color:#9a3412!important;font-size:12px!important;font-weight:900!important}
.batch-guide-warning{margin:12px 0!important;padding:10px!important;border:1px solid #f3c99e!important;border-radius:12px!important;background:#fff7ed!important;color:#7c2d12!important;line-height:1.55!important}
.batch-guide-card ol{margin:0!important;padding-left:22px!important;line-height:1.75!important}
.batch-guide-link-row{margin-top:14px!important}
.batch-guide-link-row a{
  display:inline-flex!important;
  border-radius:999px!important;
  background:#111!important;
  color:#fff!important;
  padding:9px 14px!important;
  text-decoration:none!important;
  font-weight:900!important;
}
.volunteer-panel .qualification-risk-label{
  color:#92400e!important;
  background:#fffbeb!important;
  border:1px solid #f1d99b!important;
}
body.compact-mode .qualification-risk-label{
  min-height:18px;
  padding:2px 6px;
  font-size:10px;
}
.volunteer-panel .volunteer-major-mini-actions{
  gap:3px!important;
}
.volunteer-panel .volunteer-major-mini-actions button{
  width:22px!important;
  height:22px!important;
  border-radius:7px!important;
  border-color:#e2d5c4!important;
  background:#fff!important;
  color:#302821!important;
  font-size:12px!important;
  line-height:1!important;
}
.volunteer-panel .volunteer-edit-drawer summary{
  min-height:28px!important;
  padding:4px 9px!important;
  border-radius:8px!important;
  font-size:12px!important;
  background:#fffdf8!important;
}
.volunteer-panel .major-picker-actions.compact{
  margin:6px 0!important;
}
.volunteer-panel .major-picker-actions.compact button,
.volunteer-panel .major-picker-actions.compact select{
  height:28px!important;
  border-radius:8px!important;
  font-size:12px!important;
}
@media (max-width:1320px){
  .volunteer-panel .volunteer-major-grid.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:760px){
  .volunteer-panel .volunteer-major-strip,
  .volunteer-panel .volunteer-major-grid.compact-grid{grid-template-columns:1fr!important;}
}

/* Wide desktop density: use the horizontal room for longer school and major text. */
@media (min-width:1680px){
  .app-shell{
    width:min(1920px,calc(100vw - 64px))!important;
    margin:34px auto!important;
  }
  .hero,
  body.compact-mode .hero{
    padding-left:48px!important;
    padding-right:48px!important;
  }
  .brand p{
    max-width:920px!important;
  }
  .filters,
  body.compact-mode .filters{
    grid-template-columns:repeat(10,minmax(118px,1fr))!important;
    padding-left:48px!important;
    padding-right:48px!important;
  }
  .filters input,
  body.compact-mode .filters input{
    grid-column:span 3!important;
  }
  .student-context-bar{
    padding-left:48px!important;
    padding-right:48px!important;
  }
  .layout,
  body.compact-mode .layout{
    grid-template-columns:clamp(360px,20vw,430px) minmax(0,1fr)!important;
    gap:28px!important;
    padding-left:48px!important;
    padding-right:48px!important;
  }
  .sidebar,
  body.compact-mode .sidebar{
    top:178px!important;
    height:calc(100vh - 210px)!important;
  }
  body.compact-mode.header-collapsed .sidebar,
  body.header-collapsed .sidebar{
    top:94px!important;
    height:calc(100vh - 128px)!important;
  }
  .side-head,
  body.compact-mode .side-head{
    padding:18px 20px!important;
  }
  .school-list,
  body.compact-mode .school-list{
    padding:10px!important;
  }
  .school-item,
  body.compact-mode .school-item{
    padding:13px 16px!important;
  }
  .school-item .name,
  body.compact-mode .school-item .name{
    font-size:15px!important;
    line-height:1.35!important;
  }
  .school-item .meta,
  body.compact-mode .school-item .meta{
    font-size:12px!important;
    gap:8px 10px!important;
    line-height:1.5!important;
  }
  .score-pill,
  body.compact-mode .score-pill{
    font-size:12px!important;
    padding:4px 9px!important;
  }
  .school-header,
  body.compact-mode .school-header{
    padding:26px 30px!important;
  }
  .group-cards,
  body.compact-mode .group-cards{
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important;
    gap:14px!important;
  }
  .group-card,
  body.compact-mode .group-card{
    padding:16px!important;
  }
  .group-card h3,
  body.compact-mode .group-card h3{
    font-size:16px!important;
    line-height:1.28!important;
  }
  .group-card .group-name-label,
  body.compact-mode .group-card .group-name-label{
    font-size:12px!important;
    line-height:1.45!important;
  }
  .group-head,
  body.compact-mode .group-head{
    padding:18px 22px!important;
  }
  .group-head p,
  body.compact-mode .group-head p{
    font-size:13px!important;
    line-height:1.62!important;
  }
  .table-wrap table{
    min-width:1180px!important;
  }
  body.compact-mode table{
    min-width:1080px!important;
  }
  .table-wrap th:nth-child(1){width:76px!important;}
  .table-wrap th:nth-child(2){width:62px!important;}
  .table-wrap th:nth-child(3){width:50%!important;}
  .table-wrap th:nth-child(4){width:13%!important;}
  .table-wrap th:nth-child(5){width:9%!important;}
  .table-wrap th:nth-child(6){width:10%!important;}
  .table-wrap th:nth-child(7){width:12%!important;}
  .major-title-line{
    gap:5px 10px!important;
  }
  .major-name-link{
    line-height:1.55!important;
  }
  .app-shell .panel{
    width:min(720px,42vw)!important;
  }
  .app-shell .volunteer-panel{
    width:min(1080px,58vw)!important;
  }
}

@media (min-width:2100px){
  .app-shell{
    width:min(2400px,calc(100vw - 88px))!important;
  }
  .layout,
  body.compact-mode .layout{
    grid-template-columns:clamp(400px,19vw,520px) minmax(0,1fr)!important;
  }
  .group-cards,
  body.compact-mode .group-cards{
    grid-template-columns:repeat(auto-fill,minmax(330px,1fr))!important;
  }
}

/* V1.1.70 志愿专业表全屏可读版：避免宽屏被压成侧栏、专业卡片被省略。 */
.app-shell .volunteer-panel,
body.compact-mode .app-shell .volunteer-panel,
.volunteer-panel,
body.compact-mode .volunteer-panel{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  max-width:none!important;
  height:100vh!important;
  max-height:none!important;
  border:0!important;
  border-radius:0!important;
  background:#f6f8f7!important;
  transform:translateY(105%)!important;
  z-index:120!important;
}
.app-shell .volunteer-panel.open,
body.compact-mode .app-shell .volunteer-panel.open,
.volunteer-panel.open,
body.compact-mode .volunteer-panel.open{
  transform:translateY(0)!important;
}
.volunteer-panel .panel-head{
  position:sticky!important;
  top:0!important;
  z-index:24!important;
  min-height:76px!important;
  padding:14px 28px!important;
  background:#fffdf8!important;
  border-bottom:1px solid #e4d8c9!important;
}
.volunteer-panel .volunteer-workbench{
  height:calc(100vh - 76px)!important;
  max-height:none!important;
  padding:16px 28px 34px!important;
  overflow:auto!important;
  background:#f6f8f7!important;
}
.volunteer-panel .volunteer-table-head,
body.compact-mode .volunteer-panel .volunteer-table-head,
.volunteer-panel .volunteer-table-row,
body.compact-mode .volunteer-panel .volunteer-table-row{
  width:100%!important;
  grid-template-columns:72px minmax(250px,.68fr) minmax(780px,2.7fr) minmax(210px,.52fr) 72px!important;
}
.volunteer-panel .volunteer-table-head{
  display:grid!important;
  overflow:visible!important;
}
.volunteer-panel .volunteer-table-row{
  min-height:0!important;
  align-items:start!important;
  overflow:visible!important;
}
.volunteer-panel .volunteer-order-col,
.volunteer-panel .volunteer-group-col,
.volunteer-panel .volunteer-major-col,
.volunteer-panel .volunteer-data-col,
.volunteer-panel .volunteer-action-col{
  min-width:0!important;
  overflow:visible!important;
}
.volunteer-panel .volunteer-major-col{
  background:#fffdf8!important;
}
.volunteer-panel .volunteer-major-strip{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important;
  gap:8px!important;
  margin:0 0 10px!important;
}
.volunteer-panel .volunteer-major-strip-item{
  grid-template-columns:24px minmax(0,1fr) auto!important;
  align-items:start!important;
  min-height:58px!important;
  padding:9px 10px!important;
  overflow:visible!important;
}
.volunteer-panel .volunteer-major-name,
.volunteer-panel .volunteer-pool-major-body{
  min-width:0!important;
  overflow:visible!important;
}
.volunteer-panel .volunteer-major-name b,
.volunteer-panel .volunteer-pool-major-top{
  display:flex!important;
  align-items:flex-start!important;
  flex-wrap:wrap!important;
  gap:5px 6px!important;
  min-width:0!important;
  white-space:normal!important;
  overflow:visible!important;
}
.volunteer-panel .volunteer-major-name b .major-name-text,
.volunteer-panel .volunteer-pool-major-top b,
.volunteer-panel .major-name-text,
.volunteer-panel .volunteer-major-name small,
.volunteer-panel .volunteer-pool-major-body small,
.volunteer-panel .volunteer-major-grid.compact-grid .major-check small{
  max-width:100%!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  word-break:break-word!important;
  overflow-wrap:anywhere!important;
}
.volunteer-panel .volunteer-major-name small,
.volunteer-panel .volunteer-pool-major-body small,
.volunteer-panel .volunteer-major-grid.compact-grid .major-check small{
  line-height:1.35!important;
}
.volunteer-panel .volunteer-major-grid.compact-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr))!important;
  gap:8px!important;
  margin-top:8px!important;
  overflow:visible!important;
}
.volunteer-panel .volunteer-major-grid.compact-grid .major-check{
  grid-template-columns:18px 24px minmax(0,1fr)!important;
  align-items:start!important;
  min-height:66px!important;
  padding:9px 10px!important;
  overflow:visible!important;
}
.volunteer-panel .risk-label,
.volunteer-panel .medical-risk-label,
.volunteer-panel .qualification-risk-label{
  max-width:none!important;
  white-space:nowrap!important;
}
.volunteer-panel .volunteer-major-mini-actions{
  align-self:start!important;
  flex:0 0 auto!important;
}
@media (max-width:1320px){
  .volunteer-panel .volunteer-table-head{
    display:none!important;
  }
  .volunteer-panel .volunteer-table-row,
  body.compact-mode .volunteer-panel .volunteer-table-row{
    grid-template-columns:72px minmax(260px,.8fr) minmax(520px,1.8fr)!important;
  }
  .volunteer-panel .volunteer-major-col,
  .volunteer-panel .volunteer-data-col,
  .volunteer-panel .volunteer-action-col{
    grid-column:auto!important;
  }
  .volunteer-panel .volunteer-order-col{
    grid-row:span 2!important;
  }
  .volunteer-panel .volunteer-group-col{
    border-right:1px solid var(--line)!important;
  }
  .volunteer-panel .volunteer-data-col{
    grid-column:2!important;
  }
  .volunteer-panel .volunteer-action-col{
    grid-column:3!important;
    flex-direction:row!important;
    justify-content:flex-start!important;
    border-top:1px solid var(--line)!important;
  }
}
@media (max-width:860px){
  .volunteer-panel .panel-head{
    padding:12px 14px!important;
  }
  .volunteer-panel .volunteer-workbench{
    padding:10px!important;
  }
  .volunteer-panel .volunteer-workbench-toolbar{
    grid-template-columns:1fr 1fr!important;
  }
  .volunteer-panel .volunteer-workbench-toolbar input{
    grid-column:1/-1!important;
  }
  .volunteer-panel .volunteer-table-row,
  body.compact-mode .volunteer-panel .volunteer-table-row{
    grid-template-columns:1fr!important;
  }
  .volunteer-panel .volunteer-order-col,
  .volunteer-panel .volunteer-group-col,
  .volunteer-panel .volunteer-major-col,
  .volunteer-panel .volunteer-data-col,
  .volunteer-panel .volunteer-action-col{
    grid-column:1!important;
    grid-row:auto!important;
    border-right:0!important;
  }
  .volunteer-panel .volunteer-major-strip,
  .volunteer-panel .volunteer-major-grid.compact-grid{
    grid-template-columns:1fr!important;
  }
}

/* V1.1.71 专业池卡片排版：左上角保留选择控件，正文使用整张卡片宽度。 */
.volunteer-panel .volunteer-major-grid.compact-grid{
  grid-template-columns:repeat(auto-fit,minmax(390px,1fr))!important;
  align-items:stretch!important;
  gap:10px!important;
}
.volunteer-panel .volunteer-major-grid.compact-grid .major-check{
  position:relative!important;
  display:block!important;
  min-height:0!important;
  padding:10px 12px 12px 52px!important;
  text-align:left!important;
  line-height:1.4!important;
}
.volunteer-panel .volunteer-major-grid.compact-grid .major-check input{
  position:absolute!important;
  left:13px!important;
  top:13px!important;
  width:15px!important;
  height:15px!important;
  margin:0!important;
}
.volunteer-panel .volunteer-major-grid.compact-grid .major-check > .major-order-badge,
.volunteer-panel .volunteer-major-grid.compact-grid .major-check > .major-order-placeholder{
  position:absolute!important;
  left:32px!important;
  top:10px!important;
  margin:0!important;
}
.volunteer-panel .volunteer-major-grid.compact-grid .volunteer-pool-major-body{
  grid-column:auto!important;
  display:block!important;
  min-width:0!important;
  padding:0!important;
}
.volunteer-panel .volunteer-major-grid.compact-grid .volunteer-pool-major-top,
.volunteer-panel .volunteer-major-grid.compact-grid .major-check > b{
  display:flex!important;
  align-items:flex-start!important;
  flex-wrap:wrap!important;
  gap:5px 6px!important;
  min-width:0!important;
  margin:0!important;
  text-align:left!important;
  line-height:1.38!important;
}
.volunteer-panel .volunteer-major-grid.compact-grid .volunteer-pool-major-top b,
.volunteer-panel .volunteer-major-grid.compact-grid .major-check > b,
.volunteer-panel .volunteer-major-grid.compact-grid .major-name-text{
  color:#211a13!important;
  font-size:12.5px!important;
  font-weight:850!important;
  line-height:1.38!important;
}
.volunteer-panel .volunteer-major-grid.compact-grid .volunteer-pool-major-top b,
.volunteer-panel .volunteer-major-grid.compact-grid .major-check > b .major-name-text,
.volunteer-panel .volunteer-major-strip-item .major-name-text{
  flex:1 1 100%!important;
}
.volunteer-panel .volunteer-major-grid.compact-grid .major-check > .risk-label,
.volunteer-panel .volunteer-major-grid.compact-grid .major-check > .medical-risk-label,
.volunteer-panel .volunteer-major-grid.compact-grid .major-check > .qualification-risk-label{
  margin:6px 4px 0 0!important;
  vertical-align:top!important;
}
.volunteer-panel .volunteer-major-grid.compact-grid .volunteer-pool-major-body small,
.volunteer-panel .volunteer-major-grid.compact-grid .major-check > small,
.volunteer-panel .volunteer-major-grid.compact-grid .major-check small{
  display:block!important;
  grid-column:auto!important;
  margin:6px 0 0!important;
  padding:0!important;
  color:#6a6258!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.45!important;
  text-align:left!important;
}
.volunteer-panel .volunteer-major-strip-item{
  align-content:start!important;
  text-align:left!important;
}
.volunteer-panel .volunteer-major-name b{
  gap:5px 6px!important;
  line-height:1.38!important;
}
@media (max-width:860px){
  .volunteer-panel .volunteer-major-grid.compact-grid{
    grid-template-columns:1fr!important;
  }
}

/* V1.1.72 志愿表冲稳保梯度：整表汇总 + 行内定位色标。 */
.volunteer-panel .volunteer-gradient{
  display:grid!important;
  grid-template-columns:minmax(190px,.28fr) minmax(260px,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  margin:10px 0!important;
  padding:10px 12px!important;
  border:1px solid #e2d5c5!important;
  border-radius:14px!important;
  background:#fffdf8!important;
  box-shadow:0 8px 22px rgba(50,36,22,.04)!important;
}
.volunteer-panel .volunteer-gradient:empty{
  display:none!important;
}
.volunteer-panel .volunteer-gradient-head{
  min-width:0!important;
}
.volunteer-panel .volunteer-gradient-head b{
  display:block!important;
  color:#211a13!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.35!important;
}
.volunteer-panel .volunteer-gradient-head span{
  display:block!important;
  margin-top:2px!important;
  color:#776b5f!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.35!important;
}
.volunteer-panel .volunteer-gradient-track{
  display:flex!important;
  min-width:0!important;
  height:30px!important;
  overflow:hidden!important;
  border:1px solid #e5dccf!important;
  border-radius:999px!important;
  background:#f3eee7!important;
}
.volunteer-panel .volunteer-gradient-segment{
  width:var(--w)!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.volunteer-panel .volunteer-gradient-segment em{
  font-style:normal!important;
  opacity:.92!important;
}
.volunteer-panel .volunteer-gradient-segment.strategy-rush{background:#d95435!important;}
.volunteer-panel .volunteer-gradient-segment.strategy-stable{background:#e6a23c!important;}
.volunteer-panel .volunteer-gradient-segment.strategy-safe{background:#209f62!important;}
.volunteer-panel .volunteer-gradient-segment.strategy-floor{background:#2563eb!important;}
.volunteer-panel .volunteer-gradient-segment.strategy-pending{background:#9a9187!important;}
.volunteer-panel .volunteer-gradient-chips{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  flex-wrap:wrap!important;
}
.volunteer-panel .volunteer-gradient-chip,
.volunteer-panel .volunteer-strategy-pill{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  border:1px solid transparent!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.volunteer-panel .volunteer-gradient-chip{
  min-height:24px!important;
  padding:3px 8px!important;
  font-size:11px!important;
}
.volunteer-panel .volunteer-strategy-pill{
  min-width:44px!important;
  min-height:26px!important;
  padding:4px 8px!important;
  font-size:12px!important;
  box-shadow:0 5px 14px rgba(38,27,18,.08)!important;
}
.volunteer-panel .volunteer-gradient-chip.strategy-rush,
.volunteer-panel .volunteer-strategy-pill.strategy-rush{border-color:#f2b8a7!important;background:#fff0ec!important;color:#b43821!important;}
.volunteer-panel .volunteer-gradient-chip.strategy-stable,
.volunteer-panel .volunteer-strategy-pill.strategy-stable{border-color:#f3d19e!important;background:#fff7e8!important;color:#9a5f08!important;}
.volunteer-panel .volunteer-gradient-chip.strategy-safe,
.volunteer-panel .volunteer-strategy-pill.strategy-safe{border-color:#bde6cd!important;background:#edf9f2!important;color:#0a7c42!important;}
.volunteer-panel .volunteer-gradient-chip.strategy-floor,
.volunteer-panel .volunteer-strategy-pill.strategy-floor{border-color:#bdd3ff!important;background:#eef4ff!important;color:#1d4ed8!important;}
.volunteer-panel .volunteer-gradient-chip.strategy-pending,
.volunteer-panel .volunteer-strategy-pill.strategy-pending{border-color:#ded6cc!important;background:#f6f2ed!important;color:#6f655a!important;}
@media (max-width:1320px){
  .volunteer-panel .volunteer-gradient{
    grid-template-columns:1fr!important;
  }
  .volunteer-panel .volunteer-gradient-chips{
    justify-content:flex-start!important;
  }
}
@media (max-width:640px){
  .volunteer-panel .volunteer-gradient-track{
    height:auto!important;
    min-height:30px!important;
    flex-wrap:wrap!important;
    border-radius:14px!important;
  }
  .volunteer-panel .volunteer-gradient-segment{
    min-width:64px!important;
    flex:1 1 auto!important;
    height:28px!important;
  }
}

/* V1.1.73 统一冲稳保状态：左侧索引 / 中间卡片 / 右侧志愿表共用 risk state。 */
.volunteer-structure-bar{
  display:grid!important;
  grid-template-columns:minmax(260px,.8fr) minmax(240px,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  padding:10px 24px!important;
  border-top:1px solid rgba(10,124,66,.10)!important;
  background:#fffaf2!important;
}
.volunteer-structure-bar[hidden]{display:none!important;}
.volunteer-structure-main{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  color:#2f261e!important;
}
.volunteer-structure-main b{font-size:13px!important;font-weight:950!important;}
.volunteer-structure-main span{font-size:12px!important;font-weight:900!important;color:#5b4637!important;}
.volunteer-structure-main em{font-style:normal!important;font-size:12px!important;color:#7b7065!important;}
.volunteer-structure-track{
  display:flex!important;
  height:10px!important;
  overflow:hidden!important;
  border-radius:999px!important;
  background:#eee4d8!important;
  border:1px solid #e0d3c2!important;
}
.volunteer-structure-seg{width:var(--w)!important;min-width:0!important;}
.volunteer-structure-seg.strategy-rush{background:#d95435!important;}
.volunteer-structure-seg.strategy-stable{background:#e6a23c!important;}
.volunteer-structure-seg.strategy-safe{background:#209f62!important;}
.volunteer-structure-seg.strategy-pending{background:#a29a91!important;}
.volunteer-structure-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex-wrap:wrap!important;}
.volunteer-structure-actions button{
  min-height:28px!important;
  border:1px solid #decfbd!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#3b2d22!important;
  padding:4px 10px!important;
  font-size:12px!important;
  font-weight:900!important;
}
.volunteer-structure-actions button.active{
  background:#17130f!important;
  border-color:#17130f!important;
  color:#fff!important;
}
.sidebar-risk-line{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:2px 8px!important;
  margin-top:8px!important;
  padding:8px 10px!important;
  border-radius:12px!important;
  border:1px solid #e4d6c5!important;
  border-left-width:4px!important;
  background:#fffdf8!important;
  align-items:center!important;
}
.sidebar-risk-line b{font-size:16px!important;line-height:1!important;color:#1d1712!important;}
.sidebar-risk-line span{font-size:12px!important;font-weight:900!important;color:#42362c!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;}
.sidebar-risk-line em{font-style:normal!important;font-size:11px!important;font-weight:900!important;color:#71675e!important;}
.sidebar-risk-line small{grid-column:1/-1!important;font-size:11px!important;color:#877b70!important;font-weight:800!important;}
.sidebar-risk-line.risk-chong{border-left-color:#d95435!important;background:#fff4f1!important;}
.sidebar-risk-line.risk-wen{border-left-color:#e6a23c!important;background:#fff8e9!important;}
.sidebar-risk-line.risk-bao{border-left-color:#209f62!important;background:#effaf3!important;}
.selected-state-badge.selected{border-color:#bfdbfe!important;background:#eff6ff!important;color:#1d4ed8!important;}
.selected-state-badge.unselected{border-color:#e0d3c2!important;background:#fffaf2!important;color:#6f675f!important;}
.group-card-status{display:flex!important;align-items:flex-start!important;justify-content:flex-end!important;gap:6px!important;flex-wrap:wrap!important;}
.group-head-side{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:flex-start!important;
  gap:8px!important;
  margin-left:auto!important;
  min-width:176px!important;
}
.group-section .group-head-main{
  flex:1 1 auto!important;
  min-width:0!important;
}
.group-risk-hero{
  display:grid!important;
  gap:4px!important;
  min-width:170px!important;
  padding:9px 12px!important;
  border:1px solid #ead9c5!important;
  border-left-width:5px!important;
  border-radius:14px!important;
  background:#fffdf8!important;
  color:#241b15!important;
  box-shadow:0 10px 24px rgba(35,24,14,.06)!important;
}
.group-risk-hero-main{
  display:flex!important;
  align-items:baseline!important;
  gap:6px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
}
.group-risk-hero-main b{
  font-size:20px!important;
  line-height:1!important;
  font-weight:950!important;
}
.group-risk-hero-main strong{
  font-size:14px!important;
  line-height:1!important;
  font-weight:950!important;
}
.group-risk-hero-main span{
  font-size:12px!important;
  font-weight:900!important;
  color:#64574c!important;
}
.group-risk-hero em{
  font-style:normal!important;
  font-size:11px!important;
  font-weight:900!important;
  color:#71675e!important;
}
.group-risk-hero.compact{
  min-width:0!important;
  max-width:126px!important;
  padding:5px 8px!important;
  border-left-width:4px!important;
  border-radius:999px!important;
  gap:1px!important;
  box-shadow:none!important;
}
.group-risk-hero.compact .group-risk-hero-main{gap:4px!important;}
.group-risk-hero.compact .group-risk-hero-main b,
.group-risk-hero.compact .group-risk-hero-main strong{
  font-size:12px!important;
}
.group-risk-hero.compact .group-risk-hero-main span{display:none!important;}
.group-risk-hero.compact em{
  max-width:96px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:10px!important;
}
.group-risk-hero.risk-chong{border-left-color:#d95435!important;background:#fff4f1!important;border-color:#f2b8a7!important;}
.group-risk-hero.risk-wen{border-left-color:#e6a23c!important;background:#fff8e9!important;border-color:#f3d19e!important;}
.group-risk-hero.risk-bao{border-left-color:#209f62!important;background:#effaf3!important;border-color:#bde6cd!important;}
.group-risk-hero.risk-pending{border-left-color:#9a9187!important;background:#f6f2ed!important;border-color:#d8cec4!important;}
.group-risk-hero.risk-chong .group-risk-hero-main b,
.group-risk-hero.risk-chong .group-risk-hero-main strong{color:#b43821!important;}
.group-risk-hero.risk-wen .group-risk-hero-main b,
.group-risk-hero.risk-wen .group-risk-hero-main strong{color:#9a5f08!important;}
.group-risk-hero.risk-bao .group-risk-hero-main b,
.group-risk-hero.risk-bao .group-risk-hero-main strong{color:#0a7c42!important;}
.group-risk-hero.selected em{color:#1d4ed8!important;}
.group-card.selected-volunteer-group,
.group-section.selected-volunteer-group{
  box-shadow:inset 4px 0 0 #2563eb,0 8px 26px rgba(11,42,26,.06)!important;
}
.group-card.group-risk-chong,.group-section.group-risk-chong{border-color:#f2b8a7!important;}
.group-card.group-risk-wen,.group-section.group-risk-wen{border-color:#f3d19e!important;}
.group-card.group-risk-bao,.group-section.group-risk-bao{border-color:#bde6cd!important;}
.volunteer-add-btn.risk-chong{border-color:#f2b8a7!important;background:#fff0ec!important;color:#b43821!important;}
.volunteer-add-btn.risk-wen{border-color:#f3d19e!important;background:#fff7e8!important;color:#9a5f08!important;}
.volunteer-add-btn.risk-bao{border-color:#bde6cd!important;background:#edf9f2!important;color:#0a7c42!important;}
.volunteer-add-btn.selected{background:#e7f3ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important;}
.volunteer-toggle{
  position:fixed!important;
  right:18px!important;
  top:50%!important;
  z-index:61!important;
  width:78px!important;
  min-height:132px!important;
  transform:translateY(-50%)!important;
  display:inline-grid!important;
  grid-auto-flow:row!important;
  align-items:center!important;
  justify-items:center!important;
  gap:6px!important;
  border:1px solid #b7dfc6!important;
  border-radius:18px!important;
  background:#0a7c42!important;
  color:#fff!important;
  box-shadow:0 14px 34px rgba(10,124,66,.22)!important;
  line-height:1.15!important;
  padding:10px 8px!important;
  cursor:grab!important;
  user-select:none!important;
  touch-action:none!important;
}
.volunteer-toggle.dragging{
  cursor:grabbing!important;
  opacity:.94!important;
  transition:none!important;
  box-shadow:0 18px 42px rgba(10,124,66,.32)!important;
}
.volunteer-toggle small{display:block!important;font-size:10px!important;color:inherit!important;opacity:.78!important;font-weight:900!important;}
.volunteer-toggle b{display:block!important;font-size:11px!important;font-weight:950!important;}
.volunteer-risk-group-header{
  min-height:30px!important;
  display:flex!important;
  align-items:center!important;
  padding:6px 12px!important;
  border-radius:12px!important;
  font-size:13px!important;
  font-weight:950!important;
  border:1px solid transparent!important;
}
.volunteer-risk-group-header.strategy-rush{background:#fff0ec!important;color:#b43821!important;border-color:#f2b8a7!important;}
.volunteer-risk-group-header.strategy-stable{background:#fff7e8!important;color:#9a5f08!important;border-color:#f3d19e!important;}
.volunteer-risk-group-header.strategy-safe{background:#edf9f2!important;color:#0a7c42!important;border-color:#bde6cd!important;}
.volunteer-risk-group-header.strategy-pending{background:#f6f2ed!important;color:#6f655a!important;border-color:#ded6cc!important;}
.volunteer-panel .volunteer-table-row.strategy-rush{border-left:6px solid #d95435!important;}
.volunteer-panel .volunteer-table-row.strategy-stable{border-left:6px solid #e6a23c!important;}
.volunteer-panel .volunteer-table-row.strategy-safe{border-left:6px solid #209f62!important;}
.volunteer-panel .volunteer-table-row.strategy-pending{border-left:6px solid #9a9187!important;}
.volunteer-panel .risk-inline{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-left:8px!important;
  border-radius:999px!important;
  padding:3px 8px!important;
  font-size:11px!important;
  font-weight:950!important;
  white-space:nowrap!important;
}
.volunteer-panel .risk-inline.strategy-rush{background:#fff0ec!important;color:#b43821!important;border:1px solid #f2b8a7!important;}
.volunteer-panel .risk-inline.strategy-stable{background:#fff7e8!important;color:#9a5f08!important;border:1px solid #f3d19e!important;}
.volunteer-panel .risk-inline.strategy-safe{background:#edf9f2!important;color:#0a7c42!important;border:1px solid #bde6cd!important;}
.locate-highlight{animation:locatePulse 1.6s ease-in-out 1!important;}
@keyframes locatePulse{
  0%{box-shadow:0 0 0 0 rgba(37,99,235,.42),0 8px 26px rgba(11,42,26,.06)}
  60%{box-shadow:0 0 0 10px rgba(37,99,235,0),0 12px 34px rgba(37,99,235,.16)}
  100%{box-shadow:0 8px 26px rgba(11,42,26,.06)}
}
@media (max-width:980px){
  .volunteer-structure-bar{grid-template-columns:1fr!important;}
  .volunteer-structure-actions{justify-content:flex-start!important;}
}
