/* ================================================================
   qyzc 共享工具类
   纯工具样式，无业务语义，所有页面通用。
   加载顺序：theme.css → layout.css → utils.css → 页面内联 style
   ================================================================ */

/* 文本截断（单行，inline/flex 子元素可用） */
.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 文本截断（块级，适合表格单元格、卡片标题等） */
.truncate-block {
    display: block;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 屏幕阅读器专用（视觉隐藏，辅助技术可读） */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
