/* ===========================================================================
   商标注册申请页（版式来源：站长提供的 trademark.html）
   class 前缀 tmr- ；本文件只作用于申请页，避免与全站样式冲突
   =========================================================================== */
.tmr-page { background: #f5f6f8; padding-bottom: 40px; }
 .tmr-wrap { max-width: 1400px; margin: 0 auto; padding: 0 16px; }
.tmr-banner { position: relative; height: 200px; /*margin-top: 48px;*/ background: #084295; overflow: hidden; }
.tmr-banner-inner { position: relative; padding-top: 62px; }
.tmr-banner h1 { font-family: 微软雅黑, 'PingFang SC', sans-serif; font-size: 38px; line-height: 1.1; font-weight: 500; color: #fff; letter-spacing: 1px; }
.tmr-banner p { margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .82); }
 .tmr-body { margin-top: 16px; padding-bottom: 40px; }
.tmr-card { background: #fff; border-radius: 2px; box-shadow: 0 0 20px rgba(0, 0, 0, .06); padding: 4px 24px 28px; }
 .tmr-alert { margin: 16px 0 0; padding: 10px 14px; border: 1px solid #ffd8d2; background: #fff3f0; color: #d4380d; font-size: 13px; border-radius: 2px; }
 /* layer 弹层：强制相对视口居中（主题会重写 top/left，导致协议弹窗偏位） */


 /* 商标注册协议弹层（Element 结构，本站无 Element CSS，这里补齐排版） */

/* 若站点全局加载了 Element，避免它的遮罩层/定位与 layer 叠加 */








 .tmr-sec { height: 30px; line-height: 30px; padding-left: 14px; margin: 28px 0 24px; border-left: 4px solid #084295; font-size: 18px; color: #084295; }
 .tmr-flow { display: flex; align-items: center; margin: 0 0 6px; }
.tmr-flow-item { flex: 1; height: 44px; line-height: 44px; text-align: center; font-size: 16px; color: #fff; background: #72b2ff; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%); }
.tmr-flow-item:first-child { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); }
.tmr-flow-item:last-child { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18px 50%); }
.tmr-flow-item + .tmr-flow-item { margin-left: 6px; }
.tmr-flow-item.on { background: #ff8e66; }
 .tmr-info { display: flex; align-items: flex-start; gap: 24px; }
.tmr-info-form { flex: 1 1 auto; min-width: 0; }
 .tmr-fitem { display: flex; align-items: flex-start; margin-bottom: 22px; }
.tmr-label { flex: 0 0 138px; padding-right: 12px; text-align: right; line-height: 40px; font-size: 14px; color: #1b1b1b; }
.tmr-control { flex: 1; min-width: 0; position: relative; }
.tmr-req { color: #fc6530; margin-right: 2px; }
 .tmr-input { width: 100%; max-width: 408px; height: 40px; padding: 0 12px; border: 1px solid #dcdfe6; border-radius: 4px; font-size: 14px; color: #1b1b1b; background: #fff; outline: none; box-sizing: border-box; }
.tmr-input:focus { border-color: #084295; }
 .tmr-textarea { height: 76px; padding: 9px 12px; line-height: 20px; resize: vertical; font-family: inherit; }
 .tmr-radios { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 10px; }
.tmr-radio { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: #1b1b1b; cursor: pointer; margin: 0; font-weight: normal; }
.tmr-radio input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; border: 1px solid #c0c4cc; border-radius: 50%; background: #fff; cursor: pointer; }
.tmr-radio input:checked { border: 5px solid #084295; }
 .tmr-inline-link { display: inline-block; margin-top: 8px; font-size: 12px; color: #084295; text-decoration: none; cursor: pointer; }
.tmr-inline-link:hover { text-decoration: underline; }
.tmr-tip { margin-top: 6px; font-size: 12px; line-height: 18px; color: #9b9b9b; }
.tmr-tip a { color: #084295; text-decoration: none; }
.tmr-tip a:hover { text-decoration: underline; }
 .tmr-btn-plain { height: 34px; padding: 5px 16px; border: 1px solid #b9c8dd; border-radius: 4px; background: #fff; color: #084295; font-size: 13px; cursor: pointer; white-space: nowrap; }
.tmr-btn-plain:hover { border-color: #084295; }
.tmr-btn-plain[disabled] { opacity: .55; cursor: not-allowed; }
.tmr-btn-solid { background: #084295; border-color: #084295; color: #fff; }
.tmr-btn-solid:hover { opacity: .92; }
 .tmr-upload { display: flex; align-items: flex-start; gap: 24px; }
.tmr-upload-box { position: relative; display: flex; flex: 0 0 130px; align-items: center; justify-content: center; width: 130px; height: 130px; border: 1px dashed #c8d6e5; border-radius: 4px; background: #fafcff; color: #9b9b9b; font-size: 12px; cursor: pointer; overflow: hidden; box-sizing: border-box; }
.tmr-upload-box:hover { border-color: #084295; color: #084295; }
.tmr-upload-box img { display: none; width: 100%; height: 100%; object-fit: contain; }
.tmr-upload-box.has-img img { display: block; }
.tmr-upload-box.has-img .tmr-upload-inner { display: none; }
.tmr-upload-box.has-img { border-style: solid; border-color: #dcdfe6; background: #fff; }
.tmr-upload-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tmr-upload-note { flex: 1; min-width: 0; font-size: 12px; line-height: 19px; color: #9b9b9b; text-align: justify; }
.tmr-up-ops { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.tmr-up-state { margin-top: 8px; font-size: 13px; color: #606266; }
.tmr-up-state .ok { color: #18c385; }
 .tmr-agent { flex: 0 0 260px; width: 260px; padding: 0 20px 25px; border-radius: 2px; box-shadow: 0 0 20px rgba(0, 0, 0, .08); }
.tmr-agent-tit { height: 1px; padding-top: 40px; border-bottom: 1px solid rgba(8, 66, 149, .3); margin-bottom: 34px; text-align: center; }
.tmr-agent-tit strong { display: inline-block; margin-top: -12px; padding: 0 10px; background: #fff; color: #084295; font-size: 16px; font-weight: 600; }
.tmr-agent-avatar { display: flex; align-items: center; justify-content: center; width: 100px; height: 100px; margin: 0 auto; border: 1px solid #ececec; border-radius: 50%; color: #084295; }
.tmr-agent-desc { margin-top: 18px; font-size: 12px; line-height: 20px; color: #9b9b9b; text-align: center; }
.tmr-agent-note { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #e6eef8; font-size: 12px; line-height: 20px; color: #9b9b9b; text-align: center; }
 .tmr-classes { display: flex; flex-wrap: wrap; gap: 10px; }
.tmr-class { position: relative; display: flex; align-items: center; justify-content: center; gap: 3px; width: 123px; height: 32px; padding: 0 6px; border: 1px solid #dcdfe6; border-radius: 4px; background: #fff; color: #606266; font-size: 13px; text-align: center; cursor: pointer; box-sizing: border-box; }
.tmr-class:hover { border-color: #c6e2ff; background: #ecf5ff; color: #409eff; }
.tmr-class.on, .tmr-class.on:hover { border-color: #084295; background: #084295; color: #fff; }
.tmr-class-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
 .tmr-selected { display: flex; align-items: flex-start; gap: 20px; margin-top: 24px; }
.tmr-sel-left { flex: 1 1 auto; min-width: 0;width: 100%; }
.tmr-sel-right { flex: 0 0 380px; width: 380px; }
.tmr-panel { border: 1px solid #e0e3e8; background: #f4f9ff; }
.tmr-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 54px; padding: 8px 16px; border-bottom: 1px solid #e0e3e8; font-size: 15px; color: #1b1b1b; box-sizing: border-box; }
.tmr-panel-head b { color: #084295; }
.tmr-panel-body { padding: 10px 16px 16px; max-height: 520px; overflow-y: auto; }
.tmr-empty { padding: 48px 12px; text-align: center; color: #3c7ee5; font-size: 14px; line-height: 22px; }
.tmr-muted { color: #9b9b9b; font-size: 12px; }
.tmr-orange { color: #fc6530; }
 .tmr-goods-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px 0; }
.tmr-goods-toolbar .tmr-input { flex: 1 1 200px; max-width: none; height: 34px; font-size: 13px; }
.tmr-goods-body { max-height: 420px; overflow-y: auto; padding: 6px 10px 12px; }
.tmr-goods-row { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 8px; border-bottom: 1px solid #e6eef8; font-size: 13px; font-weight: normal; color: #606266; cursor: pointer; }
.tmr-goods-row:last-child { border-bottom: 0; }
.tmr-goods-row:hover { background: #eaf3ff; color: #084295; }
.tmr-goods-row input { flex: 0 0 auto; margin: 0; }
.tmr-goods-name { flex: 1; min-width: 0; }
.tmr-goods-code { flex: 0 0 auto; color: #9b9b9b; font-size: 12px; }
.tmr-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px 12px; }
 .tmr-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tmr-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 10px; border-radius: 4px; background: #084295; color: #fff; font-size: 12px; line-height: 18px; }
.tmr-tag small { color: rgba(255, 255, 255, .66); font-size: 11px; }
.tmr-tag button { padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .8); font-size: 13px; line-height: 1; cursor: pointer; }
.tmr-tag button:hover { color: #fff; }
 .tmr-pay { margin-top: 20px; padding: 0 20px 20px; border: 1px solid #e0e3e8; background: #f4f9ff; }
.tmr-pay-head { height: 56px; line-height: 56px; border-bottom: 1px solid #e0e3e8; font-size: 16px; color: #1b1b1b; }
.tmr-pay-rows { padding: 14px 0 0; font-size: 13px; line-height: 26px; color: #606266; }
.tmr-pay-line { display: flex; justify-content: space-between; gap: 16px; max-width: 520px; }
.tmr-pay-line span:last-child { color: #1b1b1b; }
/* 余额不足时整行标红（提交时会提示差额） */
.tmr-pay-line.tmr-short span { color: #d4380d; }
.tmr-pay-line.tmr-short span:first-child::after { content: "（不足）"; font-size: 12px; margin-left: 2px; }
.tmr-pay-line #TmBalTop { margin-left: 6px; }
.tmr-pay-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 0 4px; }
.tmr-agree { margin: 16px 0 2px; font-size: 13px; color: #606266; }
.tmr-agree label { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-weight: normal; cursor: pointer; }
.tmr-agree input { margin: 0; }
.tmr-agree a { color: #084295; text-decoration: none; }
.tmr-agree a:hover { text-decoration: underline; }
.tmr-submit { height: 44px; padding: 0 42px; border: 0; border-radius: 4px; background: #084295; color: #fff; font-size: 16px; cursor: pointer; }
.tmr-submit:hover { opacity: .92; }
.tmr-submit:disabled { opacity: .6; cursor: default; }
.tmr-pay-btns { display: flex; align-items: center; gap: 12px; }
.tmr-btn-draft { height: 44px; padding: 0 26px; }
.tmr-draft-tip { margin: 12px 0 0; padding: 8px 12px; border: 1px solid #ffe0b2; background: #fff8e6; color: #8a5a00; font-size: 13px; border-radius: 2px; }
.tmr-notice { margin: 18px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 24px; color: #9b9b9b; }
.tmr-notice .num { display: inline-block; width: 18px; height: 18px; margin-right: 10px; border-radius: 4px; background: #9b9b9b; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
 @media (max-width: 1024px) {
    .tmr-info { flex-direction: column; }
    .tmr-agent { width: 100%; flex: none; box-sizing: border-box; }
    .tmr-selected { flex-direction: column; }
    .tmr-sel-right { width: 100%; flex: none; }
    .tmr-class { width: calc((100% - 30px) / 4); }
}
 @media (max-width: 640px) {
    .tmr-banner { height: 152px; margin-top: 20px; }
    .tmr-banner-inner { padding-top: 38px; }
    .tmr-banner h1 { font-size: 26px; }
    .tmr-banner p { margin-top: 10px; font-size: 13px; }
    .tmr-card { padding: 2px 14px 22px; }
    .tmr-sec { font-size: 16px; margin: 22px 0 18px; }
    .tmr-flow { overflow-x: auto; padding-bottom: 4px; }
    .tmr-flow-item { flex: 0 0 auto; min-width: 104px; padding: 0 8px; height: 38px; line-height: 38px; font-size: 12px; white-space: nowrap; }
    .tmr-fitem { flex-direction: column; margin-bottom: 18px; }
    .tmr-label { flex: none; padding: 0 0 6px; line-height: 1.6; text-align: left; }
    .tmr-input { max-width: none; }
    .tmr-class { width: calc((100% - 10px) / 2); height: 40px; }
    .tmr-upload { flex-direction: column; }
    .tmr-panel-body { max-height: 60vh; }
    .tmr-goods-body { max-height: 55vh; }
    .tmr-pay { padding: 0 14px 18px; }
    .tmr-pay-total { flex-direction: column; align-items: flex-start; }
    .tmr-submit { width: 100%; }
}

/* 本站补充：已选标签、商品行选中态、小类库缺失提示 */
.tmr-tag { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 3px 8px;
  background: #eaf3ff; border: 1px solid #cfe2fb; border-radius: 3px; font-size: 12.5px; color: #084295; }
.tmr-tag-x { color: #7ba0cc; text-decoration: none; font-size: 14px; line-height: 1; }
.tmr-tag-x:hover { color: #d4380d; }
.tmr-goods-row.is-on { background: #eaf3ff; color: #084295; }
.tmr-class.is-on { border-color: #084295; background: #eaf3ff; color: #084295; font-weight: 600; }

/* 专属顾问卡片（对齐参考图：标题两侧横线 + 圆环耳机图标 + 虚线分隔） */
.tmr-agent { flex: 0 0 240px; width: 240px; padding: 22px 18px 18px; border: 1px solid #e8ecf3;
  border-radius: 3px; background: #fff; text-align: center; box-shadow: 0 2px 10px rgba(16,24,40,.04); }
.tmr-agent-head { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.tmr-agent-head::before, .tmr-agent-head::after { content: ""; flex: 1; height: 1px; background: #dfe5ee; }
.tmr-agent-head span { font-size: 15px; font-weight: 600; color: #084295; white-space: nowrap; }
.tmr-agent-ring { width: 104px; height: 104px; margin: 0 auto 20px; border: 1px solid #e3e8f0;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.tmr-agent-desc { font-size: 12.5px; color: #8a94a6; line-height: 1.9; margin: 0 0 14px; }
.tmr-agent-note { font-size: 12.5px; color: #8a94a6; line-height: 1.9; margin: 0; padding-top: 16px;
  border-top: 1px dashed #e3e8f0; }

/* 没有申请人时的引导 */
.tmr-no-applicant { display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 10px 14px; border: 1px solid #ffd8d2; background: #fff3f0; border-radius: 3px; }
.tmr-no-applicant span { font-size: 13px; color: #d4380d; }

/* 上传区（图样 / 委托书） */
.tmr-up-row { display: flex; align-items: flex-start; gap: 16px; margin-top: 8px; }
.tmr-up-box { flex: 0 0 124px; width: 124px; height: 124px; border: 1px dashed #c9d4e5; border-radius: 4px;
  background: #fbfcfe; display: flex; align-items: center; justify-content: center; cursor: pointer;
  overflow: hidden; box-sizing: border-box; }
.tmr-up-box:hover { border-color: #084295; }
.tmr-up-box img { width: 100%; height: 100%; object-fit: cover; }
/* 图样统一 400×400 白底 jpg：预览按完整图样显示，不裁切 */
.tmr-up-box img#TmImgPreview { object-fit: contain; background: #fff; }
.tmr-up-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #8a94a6;
  font-size: 12.5px; }
.tmr-up-box:hover .tmr-up-inner { color: #084295; }
.tmr-up-side { flex: 1; min-width: 0; }
.tmr-up-state { display: inline-block; margin-top: 8px; font-size: 12.5px; color: #8a94a6; }
.tmr-inline-link { color: #084295; text-decoration: none; border-bottom: 1px solid transparent; }
.tmr-inline-link:hover { border-bottom-color: #084295; }

/* 协议弹窗 */
.tmr-mask { position: fixed; inset: 0; background: rgba(17,24,39,.45); z-index: 9998;
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.tmr-modal { position: relative; width: 680px; max-width: 100%; max-height: 82vh; background: #fff;
  border-radius: 6px; display: flex; flex-direction: column; box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.tmr-modal-x { position: absolute; right: 10px; top: 8px; width: 28px; height: 28px; border: 0;
  background: none; font-size: 22px; line-height: 1; color: #9aa6b8; cursor: pointer; }
.tmr-modal-x:hover { color: #d4380d; }
.tmr-modal-head { padding: 18px 24px 14px; text-align: center; font-size: 19px; font-weight: 600;
  color: #1b1b1b; border-bottom: 1px solid #eee; }
.tmr-modal-body { padding: 16px 24px; overflow-y: auto; font-size: 13px; line-height: 1.95; color: #4a4f57; }
.tmr-modal-body p { margin: 0 0 10px; text-align: justify; }
.tmr-modal-body strong { color: #1b1b1b; }
.tmr-modal-foot { padding: 12px 24px 18px; text-align: center; }
.tmr-modal-foot .tmr-btn-plain { min-width: 120px; height: 36px; }
@media (max-width: 700px) {
  .tmr-up-row { flex-direction: column; }
  .tmr-up-box { width: 100%; flex-basis: auto; }
}

/* 草稿编辑提示条 */
.tmr-draft-bar{margin:16px 0 0;padding:10px 14px;border:1px solid #ffe0b2;background:#fff8e9;color:#a15c00;
  font-size:13px;border-radius:3px;}
.tmr-draft-bar b{color:#8a4b00;}
.tmr-draft-bar a{color:#084295;text-decoration:none;border-bottom:1px solid transparent;}
.tmr-draft-bar a:hover{border-bottom-color:#084295;}
