/* ====== 业务内容页微调（仅自有页面使用，未改动光年模板样式文件） ====== */
body {
    padding-bottom: 15px;
}

/* 搜索框宽度 */
.esms-search {
    max-width: 360px;
}

/* 备案编码 / 校验码等长编码列 */
.esms-code {
    font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.92em;
    white-space: nowrap;
}

/* 表格头部与模板风格一致 */
.table > :not(caption) > * > * {
    vertical-align: middle;
}

/* 工作台快捷操作卡片 */
.esms-quick {
    transition: all 0.2s;
    cursor: pointer;
}

.esms-quick:hover {
    border-color: #0d6efd !important;
    box-shadow: 0 0.25rem 0.75rem rgba(13, 110, 253, 0.15);
    transform: translateY(-2px);
}

/* 工作台「系统信息」卡：标签/值两列布局（对齐参考图二） */
.esms-info-table > tbody > tr > th,
.esms-info-table > tbody > tr > td {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.esms-info-table > tbody > tr > th {
    width: 150px;
    text-align: left;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
}

.esms-info-table > tbody > tr > td {
    color: #374151;
}

/* ====== 真伪鉴定：印记/印模选择卡片 ====== */
.esms-pick-card {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.esms-pick-card:hover {
    border-color: #9ec5fe;
}

.esms-pick-card.active {
    border-color: #0d6efd;
    border-width: 2px;
    padding: 9px 7px;
    box-shadow: 0 0.15rem 0.5rem rgba(13, 110, 253, 0.18);
    background: #f8fbff;
}

/* 文件中印记候选缩略图：定高裁切，防止长图撑卡 */
.esms-pick-thumb {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 4px;
    overflow: hidden;
}

.esms-pick-thumb img {
    max-width: 100%;
    max-height: 100%;
}

/* 印模缩略图容器（鉴权 blob 加载占位） */
.esms-thumb-box {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #eef0f2;
    border-radius: 4px;
    overflow: hidden;
}

.esms-thumb-box img {
    max-width: 100%;
    max-height: 100%;
}

/* 库内印模卡片定宽，列表整体限高滚动 */
.esms-imprint-card {
    width: 132px;
}

.esms-imprint-list {
    max-height: 360px;
    overflow-y: auto;
}

.esms-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 结果区待鉴定印记 vs 库内印模对比图 */
.esms-cmp-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #f8f9fa;
    padding: 4px;
}
