/* @theme-name: 深绿美拉德 */
/* @theme-author: 手机用户pcie1if8w_261015wjnh */
/* @theme-time: 2026-10-15T13:39:19.221Z */
/* ============================================================
   主题：深绿抬头 × 美拉德色系（焦糖棕 / 琥珀 / 赭石）
   - 抬头 #1E3A2F 墨绿深色块 + 琥珀装饰线
   - 主强调色 焦糖棕 #A6653B（按钮、选中态）
   - 辅助 琥珀 #D9A441、赭石 #8C4A2F
   - 页面米白暖底，白卡片浮层
   ============================================================ */

:root {
  --ai-base-primary: #A6653B;        /* 焦糖棕：选中态 / 按钮 */
  --ai-base-text: #2C3A33;           /* 深绿灰：主文字 */
  --ai-base-muted: #6E7A70;          /* 副文字：绿灰 */
  --ai-base-border: #A6653B;
  --ai-base-light-border: #E3DCD2;   /* 暖调浅边框 */
  --ai-base-error: #C2452D;
}

/* 页面背景：暖米白 */
body,
body.ismob {
  background: #F7F3EC !important;
}

/* 抬头：墨绿深色块 × 琥珀下划线，绿棕撞色主视觉 */
#toptitle {
  position: relative;
  margin: 0 0 18px;
  padding: 30px 20px 26px !important;
  background: #1E3A2F !important;
  border-bottom: 4px solid #D9A441 !important;
}
#toptitle .htitle {
  color: #F3EBDD !important;
  font-size: 24px;
  letter-spacing: 1px;
  text-align: left !important;
}
#toptitle .htitle::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 24px;
  margin-right: 10px;
  vertical-align: -3px;
  background: linear-gradient(180deg, #D9A441 50%, #A6653B 50%);
}

/* 描述区：赭石浅底 + 焦糖左边条 */
#divDesc,
.wjintro,
.wjintro p {
  color: #6E7A70;
  font-size: 15px;
}
#divDesc {
  margin: 0 4px 20px;
  padding: 14px 16px;
  background: #F2E7DA;
  border-left: 4px solid #A6653B;
  color: #5C4A3A;
}

/* 题目卡片：白卡片 + 暖调投影 */
div.field,
div.formfield,
.div_question {
  margin: 0 4px 14px;
  padding: 18px 16px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(30, 58, 47, 0.08);
}
.cutfield { height: 6px; background: transparent; }

/* 题目标题：深绿文字 */
.field-label,
.topichtml,
.div_title_question {
  color: #1E3A2F !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
}

/* 输入框：暖白底 + 浅棕灰边框，聚焦焦糖棕 */
.ui-input-text {
  border: 1.5px solid #E3DCD2;
  border-radius: 8px;
  background: #FFFFFF;
  transition: border-color .15s, box-shadow .15s;
}
.ui-input-text:focus-within {
  border-color: #A6653B;
  box-shadow: 0 0 0 3px rgba(166, 101, 59, .18);
}
.ui-input-text input,
.ui-input-text textarea {
  color: #2C3A33;
  background: transparent;
}
.ui-input-text input::placeholder,
.ui-input-text textarea::placeholder {
  color: #B3AC9F;
}

/* 单选：焦糖棕外圈 + 白色中心点 */
.jqradio { border-color: #C8BEB0; }
.jqradiowrapper a.jqchecked { border: 5px solid #A6653B !important; }
.ui-controlgroup .ui-radio.checked .jqchecked:before { background: #FFFFFF !important; }

/* 多选：焦糖棕方框 + 白色对勾居中 */
.jqcheckwrapper a.jqcheck { border-color: #C8BEB0; }
.jqcheckwrapper a.jqchecked { background: #A6653B !important; }
.ui-controlgroup .ui-checkbox.checked .jqchecked:after { border-color: #FFFFFF; }

/* 选项标签：未选中绿灰，选中深绿加粗 */
.ui-controlgroup .ui-radio .label,
.ui-controlgroup .ui-checkbox .label,
.ui-controlgroup .ui-radio label,
.ui-controlgroup .ui-checkbox label {
  color: #55604F;
}
.ui-controlgroup .ui-radio.checked .label,
.ui-controlgroup .ui-checkbox.checked .label,
.ui-controlgroup .ui-radio.checked label,
.ui-controlgroup .ui-checkbox.checked label {
  color: #1E3A2F;
  font-weight: 600;
}

/* 下拉选择 */
.ui-select select,
body .select2-container--default .select2-selection--single {
  color: #2C3A33;
  border: 1.5px solid #E3DCD2;
  border-radius: 8px;
  background: #FFFFFF;
}
.ui-select .select2-container .select2-selection--single {
  border-radius: 8px;
  border: 1.5px solid #E3DCD2;
}
body .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #2C3A33;
}

/* 矩阵/量表 */
table.matrix-rating th { color: #1E3A2F; }
table.matrix-rating a.rate-off,
.scale-rating a.rate-off { border-color: #C8BEB0; }
table.matrix-rating a.rate-on,
.scale-rating a.rate-on { border: 5px solid #A6653B !important; }
.defaultScale .scale-rating a.rate-on {
  color: #A6653B;
  box-shadow: 0 0 0 2px #A6653B;
}
table.matrix-rating a.rate-onchk,
.scale-rating a.rate-onchk { background: #A6653B !important; }

/* 提交按钮：焦糖棕底 × 米白字，配琥珀投影 */
#ctlNext {
  width: auto !important;
  max-width: 280px;
  margin: 18px auto 8px !important;
  padding: 14px 40px !important;
  border-radius: 28px !important;
  background: #A6653B !important;
  color: #F7F3EC;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
  box-shadow: 0 6px 16px rgba(166, 101, 59, .35);
  transition: transform .15s, box-shadow .15s;
}
#ctlNext:active {
  transform: translateY(2px);
  box-shadow: 0 3px 8px rgba(166, 101, 59, .3);
}
#divNext a {
  background: #A6653B !important;
  border-color: #A6653B !important;
}
.blue {
  background: #A6653B;
  color: #FFFFFF;
}

/* 协议/隐私区：保持可见可交互 */
#sensitiveInfoWrap.protocol-wrapper {
  margin: 12px 8px 16px;
  color: #6E7A70;
}

/* 底部品牌/举报区：保持可见 */
#reportfooter,
.logofooter,
.wjfooter { color: #6E7A70; }
.logofooter #spanPower span { color: #9AA296; }
.logofooter #spanPower i { color: #6E7A70; }
.reportto,
.policyLink { color: #6E7A70; }

/* 移动端适配 */
@media (max-width: 600px) {
  div.field,
  div.formfield,
  .div_question {
    margin: 0 2px 12px;
    padding: 16px 14px;
    border-radius: 8px;
  }
  #toptitle { padding: 22px 16px 20px !important; }
  #toptitle .htitle { font-size: 20px; }
  #ctlNext {
    width: calc(100% - 16px) !important;
    max-width: none;
    margin: 14px 8px 6px !important;
  }
  body .btn_fixedstyle {
    left: 8px;
    right: 8px;
    bottom: 20px;
  }
}

/* @wjx-ai-control-fix:start */
.ui-controlgroup .ui-radio.checked .jqchecked:before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 8px !important;
    height: 8px !important;
    margin: -4px 0 0 -4px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
    animation: none !important;
    transform: none !important;
    pointer-events: none !important;
}
.ui-controlgroup .ui-radio.checked .jqchecked:after {
    display: none !important;
    content: none !important;
}
.ui-controlgroup .ui-checkbox.checked .jqchecked:after {
    top: 50% !important;
    left: 50% !important;
    width: 5px !important;
    height: 10px !important;
    margin: -6px 0 0 -3px !important;
    transform: rotate(45deg) scale(1) !important;
    transform-origin: center center !important;
}
/* @wjx-ai-control-fix:end */
