/* ============================================================
   恰恰 —— 最原始表格（Excel 式细线网格）
   白底黑字 / 1px 实线网格 / 浅灰表头 / 无圆角无阴影无装饰
   ============================================================ */

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #000000;
    font-family: "SimSun", "宋体", "Microsoft YaHei", sans-serif;
    font-size: 13px;
    min-height: 100%;
}

#app { min-height: 100vh; }

/* ---------------- 可点击复制 ---------------- */
.clickable { cursor: pointer; }
.clickable:hover { text-decoration: underline; background: #f5f5f5; }

/* ---------------- 登录 ---------------- */
.login-area {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.login-title { font-size: 20px; font-weight: 700; letter-spacing: 4px; }

.login-form { width: 280px; display: flex; flex-direction: column; gap: 10px; }

.ipt {
    border: 1px solid #999;
    padding: 7px 8px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    background: #fff;
}
.ipt:focus { border-color: #000; }

.btn {
    border: 1px solid #999;
    background: #eee;
    color: #000;
    font-size: 13px;
    font-family: inherit;
    padding: 6px 18px;
    cursor: pointer;
}
.btn:hover:not(:disabled) { background: #ddd; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.link {
    color: #0000cc;
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
    margin-right: 8px;
}

/* ---------------- 导航栏（一行） ---------------- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px;
    border-bottom: 1px solid #999;
}

.nav-left { display: flex; align-items: center; gap: 10px; }

.nav-select {
    border: 1px solid #999;
    padding: 4px 6px;
    font-size: 13px;
    font-family: inherit;
    background: #fff;
    min-width: 240px;
}

.nav-mid { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-mid b { font-size: 14px; }
.nav-user { color: #555; }

/* ---------------- 页签（【】标记当前，无下划线） ---------------- */
.tabs {
    display: flex;
    gap: 16px;
    padding: 10px 16px 0;
}

.tab {
    color: #0000cc;
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer;
}

.tab-current {
    font-size: 14px;
    font-weight: 700;
}

/* 取号按钮行 */
.tool-line {
    padding: 10px 16px 0;
}
.tool-line .btn { padding: 6px 26px; }

/* ---------------- 原始网格表格 ---------------- */
.grid {
    margin: 10px 16px;
    width: calc(100% - 32px);
    border-collapse: collapse;
    border: 1px solid #999;
    background: #fff;
}

.grid th, .grid td {
    border: 1px solid #999;
    padding: 4px 8px;
    text-align: left;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-all;
}

.grid th {
    background: #f0f0f0;
    font-weight: 700;
}

.grid tbody tr:hover td { background: #fafafa; }

.mono {
    font-family: Consolas, "Courier New", monospace;
    font-size: 12.5px;
}

.code { font-weight: 700; letter-spacing: 2px; }

.fail { color: #cc0000; font-size: 12px; }

.empty-row { text-align: center; color: #777; padding: 24px 8px !important; }

.in { color: #007700; }
.out { color: #cc0000; }

.more-line { padding: 8px 16px 20px; }
.end-line { color: #999; font-size: 12px; }

/* ---------------- 简易提示 ---------------- */
.tip-bar {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #999;
    padding: 6px 20px;
    font-size: 13px;
    z-index: 999;
    box-shadow: 2px 2px 4px rgba(0,0,0,.15);
}
