/* ===========================================================
   远辰智联 · 人员管理系统  样式文件
   设计原则：方形象为主、现实感、无紫色、无表情
   主题色：深蓝（Win10 风格）
   =========================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: "Microsoft YaHei", "Segoe UI", "PingFang SC", sans-serif;
    font-size: 14px;
    color: #1b1b1b;
    background: #0a0a0a;
}

/* 方形按钮 */
.btn-square {
    display: inline-block;
    border: 1px solid #0a6ed1;
    background: #0a6ed1;
    color: #fff;
    padding: 8px 18px;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: background .15s;
}
.btn-square:hover { background: #0a5cb8; }
.btn-default { background: #e6e6e6; color: #1b1b1b; border-color: #b9b9b9; }
.btn-default:hover { background: #d4d4d4; }
.btn-primary { background: #0a6ed1; color: #fff; }
.btn-primary:hover { background: #0a5cb8; }

/* ---------- 开机动画 ---------- */
.boot-body {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
.boot-screen { text-align: center; }
.boot-logo-wrap { margin-bottom: 40px; }
.boot-logo { width: 160px; height: auto; }
.boot-spinner { display: flex; justify-content: center; gap: 10px; margin: 20px 0; }
.spinner-dot {
    width: 12px; height: 12px;
    background: #0a6ed1;
    animation: bootpulse 1.2s infinite ease-in-out;
}
.spinner-dot:nth-child(2) { animation-delay: .15s; }
.spinner-dot:nth-child(3) { animation-delay: .3s; }
.spinner-dot:nth-child(4) { animation-delay: .45s; }
.spinner-dot:nth-child(5) { animation-delay: .6s; }
@keyframes bootpulse {
    0%, 80%, 100% { transform: scale(0.4); opacity: .4; }
    40% { transform: scale(1); opacity: 1; }
}
.boot-text { color: #cfd8e3; font-size: 15px; letter-spacing: 1px; }
.boot-copyright {
    position: fixed; bottom: 24px; left: 0; right: 0;
    text-align: center; color: #6a7480; font-size: 12px;
}

/* ---------- 登录 ---------- */
.login-body {
    background: #0a0a0a;
    display: flex; align-items: center; justify-content: center;
    height: 100vh;
}
.login-box {
    width: 380px;
    background: #fff;
    border: 1px solid #d0d0d0;
    padding: 36px 32px 24px;
    border-radius: 0;
}
.login-head { text-align: center; margin-bottom: 24px; }
.login-logo { width: 64px; height: auto; margin-bottom: 12px; }
.login-title { font-size: 18px; font-weight: 700; color: #1b1b1b; }
.login-sub { font-size: 12px; color: #888; margin-top: 6px; }
.login-form label { display: block; margin: 12px 0 4px; color: #555; }
.login-form input {
    width: 100%; padding: 9px 10px; border: 1px solid #c5c5c5;
    border-radius: 0; font-size: 14px;
}
.login-form input:focus { outline: none; border-color: #0a6ed1; }
.login-form .btn-square { width: 100%; margin-top: 20px; }
.login-error {
    background: #fdeaea; color: #b3261e; border: 1px solid #f3b5b0;
    padding: 8px 10px; font-size: 13px; margin-bottom: 8px;
}
.login-foot { text-align: center; color: #999; font-size: 11px; margin-top: 20px; }

/* ---------- 桌面 ---------- */
.desktop-body {
    background: #000;
    height: 100vh;
    overflow: hidden;
}
.desktop-area {
    position: absolute; top: 0; bottom: 0; left: 0; right: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.desktop-icons { z-index: 60; }
.desktop-copyright {
    position: absolute; right: 20px; bottom: 52px;
    font-size: 26px; font-weight: 700; color: #0a224a;
    text-shadow: 0 2px 8px rgba(255,255,255,0.6);
    z-index: 55; pointer-events: none; letter-spacing: 1px;
}
.desktop-icons {
    position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; gap: 18px;
}
.dicon { width: 84px; text-align: center; cursor: pointer; }
.dicon-img {
    width: 48px; height: 48px; margin: 0 auto 6px;
    background: #cfe3f7; border: 1px solid #9cc2e6;
}
.folder-img { background: #cfe3f7; }
.pc-img { background: #d9e6f2; border-color: #87a9c9; }
.dicon-label { color: #fff; font-size: 13px; text-shadow: 0 1px 2px #000; }

.taskbar {
    position: fixed; bottom: 0; left: 0; right: 0; height: 40px;
    background: rgba(20,28,38,0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; padding: 0 12px; gap: 10px;
    color: #fff; z-index: 50;
}
.taskbar-start {
    background: #0a6ed1; padding: 0 16px; height: 40px; line-height: 40px;
    font-weight: 700; cursor: pointer;
}
.taskbar-items { display: flex; gap: 4px; }
.task-item {
    padding: 0 12px; line-height: 40px; cursor: pointer; font-size: 13px;
}
.task-item:hover { background: rgba(255,255,255,0.12); }
.taskbar-tray { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13px; }
.task-logout { color: #ffd0d0; cursor: pointer; text-decoration: none; }
.task-logout:hover { text-decoration: underline; }

/* 桌面窗口 */
.win-window {
    position: absolute; top: 60px; left: 140px; width: 640px;
    background: #fff; border: 1px solid #9aa3ad; box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
.win-title {
    background: #0a6ed1; color: #fff; padding: 8px 12px;
    display: flex; justify-content: space-between; align-items: center; font-size: 14px;
}
.win-close { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; line-height: 1; }
.win-toolbar { padding: 10px 12px; border-bottom: 1px solid #e3e3e3; display: flex; flex-wrap: wrap; align-items: center; }
.win-msg { padding: 6px 12px; background: #e8f3e8; color: #1c7a1c; font-size: 13px; }
.win-body { max-height: 360px; overflow: auto; padding: 6px 0; }
.file-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.file-table th, .file-table td { text-align: left; padding: 6px 12px; border-bottom: 1px solid #eee; }
.file-table th { background: #f3f5f7; color: #555; font-weight: 600; }
.sm-input { padding: 5px 8px; border: 1px solid #c5c5c5; border-radius: 0; font-size: 13px; }

/* ---------- 系统主体 ---------- */
.sys-body { background: #f0f2f5; }
.sys-topbar {
    height: 48px; background: #0a6ed1; color: #fff;
    display: flex; align-items: center; justify-content: space-between; padding: 0 18px;
    position: sticky; top: 0; z-index: 10;
}
.sys-brand { font-size: 16px; font-weight: 700; cursor: pointer; }
.sys-user { font-size: 13px; }
.sys-logout { color: #ffe; margin-left: 12px; text-decoration: none; }
.sys-logout:hover { text-decoration: underline; }

.sys-main { display: flex; min-height: calc(100vh - 48px); }

.sys-nav {
    width: 200px; background: #1f2730; color: #cfd8e3;
    padding: 10px 0; flex-shrink: 0; overflow-y: auto;
}
.sys-nav-item {
    display: block; padding: 11px 18px; color: #ffffff; font-size: 13.5px;
    text-decoration: none; border-left: 3px solid transparent;
    transition: background .12s;
}
.sys-nav-item:hover { background: #2a3540; }
.sys-nav-item.active { background: #0a6ed1; border-left-color: #fff; color: #fff; }

.sys-content { flex: 1; padding: 20px 24px; overflow-y: auto; }
.sys-content h2 { font-size: 18px; margin-bottom: 14px; color: #1b1b1b; border-left: 4px solid #0a6ed1; padding-left: 10px; }
.sys-content h3 { font-size: 15px; margin: 18px 0 10px; color: #333; }

.flash {
    background: #e8f3e8; color: #1c7a1c; border: 1px solid #b6e0b6;
    padding: 8px 12px; margin-bottom: 14px; font-size: 13px;
}

/* 表单 */
.form-grid {
    display: grid; grid-template-columns: 120px 1fr; gap: 10px 14px; align-items: center;
    background: #fff; border: 1px solid #e2e5e9; padding: 18px; margin-bottom: 18px;
    max-width: 720px;
}
.form-grid label { color: #555; font-size: 13px; }
.form-grid input, .form-grid select {
    padding: 8px 10px; border: 1px solid #c5c5c5; border-radius: 0; font-size: 14px; width: 100%;
}
.form-grid input:focus, .form-grid select:focus { outline: none; border-color: #0a6ed1; }
.form-actions { grid-column: 1 / -1; display: flex; gap: 10px; margin-top: 6px; }

.form-inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.form-inline input, .form-inline select { padding: 7px 10px; border: 1px solid #c5c5c5; border-radius: 0; }

/* 表格 */
.data-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 13px; }
.data-table th, .data-table td { border: 1px solid #e3e6ea; padding: 8px 10px; text-align: left; }
.data-table th { background: #eef1f4; color: #444; font-weight: 600; }
.data-table tr:nth-child(even) { background: #fafbfc; }
.data-table tr:hover { background: #eef5fb; }
.empty { text-align: center; color: #999; padding: 20px; }

.link-edit { color: #0a6ed1; text-decoration: none; margin-right: 10px; }
.link-edit:hover { text-decoration: underline; }
.link-del { color: #c0392b; text-decoration: none; }
.link-del:hover { text-decoration: underline; }

.tag-ok { color: #1c7a1c; font-weight: 600; }
.tag-bad { color: #c0392b; font-weight: 600; }

/* 卡片 / 统计 */
.card-box { background: #fff; border: 1px solid #e2e5e9; padding: 18px; max-width: 720px; line-height: 1.9; margin-bottom: 16px; }
.tip { color: #888; font-size: 13px; margin-bottom: 12px; }
.stat-cards { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.stat-card {
    background: #fff; border: 1px solid #e2e5e9; border-top: 3px solid #0a6ed1;
    width: 130px; padding: 16px; text-align: center;
}
.stat-num { font-size: 28px; font-weight: 700; color: #0a6ed1; }
.stat-num.ok { color: #1c7a1c; }
.stat-num.warn { color: #c77c00; }
.stat-num.bad { color: #c0392b; }
.stat-label { font-size: 13px; color: #666; margin-top: 4px; }

.print-area { background: #fff; padding: 16px; margin-top: 12px; }
.print-table th, .print-table td { font-size: 12px; }

@media print {
    .sys-topbar, .sys-nav, .btn-square, .form-inline, .form-grid, .taskbar { display: none !important; }
    .sys-main { display: block; }
    .sys-content { padding: 0; }
}

/* ===========================================================
   桌面 2.0 - Windows 10 资源管理器风格
   =========================================================== */

/* 桌面图标强化 */
.desktop-icons {
    position: absolute; top: 18px; left: 18px;
    display: flex; flex-direction: column; gap: 22px;
    z-index: 5;
}
.dicon {
    width: 90px; text-align: center; cursor: pointer;
    padding: 6px 4px; border: 1px solid transparent; border-radius: 0;
    transition: background .12s, border-color .12s;
}
.dicon:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }
.dicon-img {
    width: 52px; height: 44px; margin: 0 auto 7px;
    position: relative; border: none; background: none;
}
.dicon-label {
    color: #fff; font-size: 13px; line-height: 1.25;
    text-shadow: 0 1px 3px rgba(0,0,0,0.85);
}
/* 用 CSS 绘制图标，无 emoji */
.dicon-folder::before {
    content: ''; position: absolute; left: 6px; top: 4px;
    width: 40px; height: 30px; background: #f5d774;
    border: 1px solid #d4b145; box-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}
.dicon-folder::after {
    content: ''; position: absolute; left: 4px; top: 0;
    width: 18px; height: 6px; background: #e8c860;
    border: 1px solid #d4b145; border-bottom: none;
}
.dicon-pc::before {
    content: ''; position: absolute; left: 8px; top: 2px;
    width: 34px; height: 26px; background: #eaf4fc;
    border: 2px solid #7da0c4; border-radius: 2px;
}
.dicon-pc::after {
    content: ''; position: absolute; left: 18px; top: 30px;
    width: 14px; height: 10px; background: #7da0c4;
}
.dicon-txt::before {
    content: ''; position: absolute; left: 10px; top: 0;
    width: 30px; height: 38px; background: #fff;
    border: 1px solid #9bb6d4;
}
.dicon-txt::after {
    content: 'TXT'; position: absolute; left: 10px; bottom: 2px;
    width: 30px; text-align: center; font-size: 9px; color: #4a7ab8;
    font-weight: 700;
}

/* 资源管理器窗口 */
.explorer-window {
    position: absolute;
    width: 780px;
    background: #fff;
    border: 1px solid #8a929c;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    display: none;
    z-index: 20;
}
.explorer-title {
    height: 32px;
    background: #ffffff;
    border-bottom: 1px solid #d4d4d4;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 8px 0 12px;
    font-size: 13px; color: #1b1b1b;
}
.explorer-title span { display: flex; align-items: center; gap: 6px; }
.title-icon {
    width: 14px; height: 14px; background: #cfe3f7; border: 1px solid #9cc2e6;
}
.explorer-btns { display: flex; align-items: center; }
.explorer-btns button {
    width: 38px; height: 24px; border: none; background: transparent;
    color: #555; font-size: 13px; cursor: pointer; line-height: 24px;
    margin-left: 2px;
}
.explorer-btns button:hover { background: #e5e5e5; }
.explorer-btns button.close:hover { background: #e81123; color: #fff; }

/* 功能区 */
.explorer-ribbon {
    height: 34px; background: #f2f2f2;
    border-bottom: 1px solid #d4d4d4;
    display: flex; align-items: flex-end; padding: 0 10px; gap: 4px;
}
.ribbon-tab {
    padding: 5px 14px 4px; font-size: 12px; color: #444;
    border: 1px solid transparent; border-bottom: none; cursor: pointer;
    border-radius: 2px 2px 0 0;
}
.ribbon-tab:hover { background: rgba(255,255,255,0.5); border-color: #c8c8c8; }
.ribbon-tab.active { background: #fff; border-color: #d4d4d4; color: #1b1b1b; font-weight: 600; }
.explorer-toolbar {
    height: 58px; background: #fff;
    border-bottom: 1px solid #d4d4d4;
    display: flex; align-items: center; padding: 0 12px; gap: 10px;
}
.toolbar-form { display: flex; align-items: center; gap: 6px; }
.btn-ribbon {
    display: inline-block; padding: 5px 12px; background: #f7f7f7;
    border: 1px solid #c5c5c5; color: #333; font-size: 12px;
    cursor: pointer; text-decoration: none;
}
.btn-ribbon:hover { background: #e9f2fc; border-color: #a8d0f7; }
.btn-ribbon.btn-blue { background: #0a6ed1; border-color: #0a6ed1; color: #fff; }
.btn-ribbon.btn-blue:hover { background: #0a5cb8; }
.file-input { display: none; }
.file-label { cursor: pointer; }

/* 地址栏 */
.explorer-address {
    height: 36px; background: #f7f9fa;
    border-bottom: 1px solid #d4d4d4;
    display: flex; align-items: center; padding: 0 8px; gap: 8px;
}
.addr-nav { display: flex; gap: 4px; }
.addr-arrow {
    display: inline-block; width: 22px; height: 22px; line-height: 20px;
    text-align: center; border: 1px solid #d4d4d4; background: #fff;
    color: #777; font-size: 11px; cursor: default;
}
.addr-path { flex: 1; background: #fff; border: 1px solid #d4d4d4; height: 24px; display: flex; align-items: center; padding: 0 8px; }
.addr-crumb { font-size: 12px; color: #333; }
.addr-search { width: 200px; }
.addr-search input {
    width: 100%; height: 24px; border: 1px solid #d4d4d4; padding: 0 6px; font-size: 12px;
}

/* 主体 */
.explorer-main { display: flex; height: 430px; }
.explorer-sidebar {
    width: 170px; background: #e6f2ff;
    border-right: 1px solid #d4d4d4; overflow-y: auto; padding: 8px 0;
}
.nav-group-title {
    padding: 6px 14px; font-size: 11px; color: #7a7a7a; text-transform: uppercase;
    letter-spacing: .5px;
}
.nav-item {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 14px; font-size: 12px; color: #1b1b1b; text-decoration: none;
}
.nav-item:hover { background: #cbe7ff; }
.nav-item.active { background: #b3d9ff; }
.nav-star, .nav-pc, .nav-disk, .nav-net {
    width: 14px; height: 14px; background: #8abae8; border: 1px solid #6ba1d6;
}

.explorer-content {
    flex: 1; background: #fff; overflow-y: auto; padding: 14px 16px;
}
.explorer-msg {
    background: #e8f3e8; color: #1c7a1c; border: 1px solid #b6e0b6;
    padding: 6px 10px; font-size: 12px; margin-bottom: 12px;
}
.section-title {
    font-size: 13px; color: #555; margin: 14px 0 10px;
    padding-bottom: 4px; border-bottom: 1px solid #e3e3e3;
}

/* 文件夹网格 */
.folder-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px;
    margin-bottom: 18px;
}
.folder-card {
    text-align: center; padding: 10px 6px; border: 1px solid transparent; border-radius: 0;
    cursor: pointer; transition: background .12s, border-color .12s;
}
.folder-card:hover { background: #e5f3ff; border-color: #a8d0f7; }
.folder-icon {
    width: 48px; height: 38px; margin: 0 auto 6px; position: relative;
}
/* 不同颜色文件夹 */
.folder-blue::before, .folder-blue::after,
.folder-doc::before, .folder-doc::after,
.folder-pic::before, .folder-pic::after,
.folder-green::before, .folder-green::after,
.folder-down::before, .folder-down::after,
.folder-music::before, .folder-music::after,
.folder-yellow::before, .folder-yellow::after {
    content: ''; position: absolute; border: 1px solid rgba(0,0,0,0.12);
}
.folder-icon::before { left: 4px; top: 0; width: 16px; height: 6px; }
.folder-icon::after { left: 6px; top: 6px; width: 36px; height: 28px; box-shadow: 2px 2px 0 rgba(0,0,0,0.1); }
.folder-blue::before { background: #6fb8f5; }
.folder-blue::after { background: #a8d6ff; }
.folder-doc::before { background: #8c9df5; }
.folder-doc::after { background: #c0caff; }
.folder-pic::before { background: #78d4c4; }
.folder-pic::after { background: #b3eddf; }
.folder-green::before { background: #7bc47e; }
.folder-green::after { background: #b3e3b5; }
.folder-down::before { background: #e89c55; }
.folder-down::after { background: #ffcc9e; }
.folder-music::before { background: #d47bb8; }
.folder-music::after { background: #edb8db; }
.folder-yellow::before { background: #e8c860; }
.folder-yellow::after { background: #f5e19e; }
.folder-name { font-size: 12px; color: #1b1b1b; margin-bottom: 2px; }
.folder-desc { font-size: 10px; color: #888; }

/* 驱动器 */
.drive-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.drive-card {
    width: 280px; border: 1px solid #e3e3e3; padding: 10px 12px;
    display: flex; align-items: center; gap: 12px; cursor: pointer;
}
.drive-card:hover { background: #f7fbff; border-color: #a8d0f7; }
.drive-icon {
    width: 44px; height: 44px; background: #0a6ed1; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; border-radius: 0;
}
.drive-info { flex: 1; }
.drive-label { font-size: 12px; color: #1b1b1b; margin-bottom: 6px; }
.drive-bar { height: 14px; border: 1px solid #cdd; margin-bottom: 4px; border-radius: 0; }
.drive-cap { font-size: 10px; color: #777; }

/* 文件列表 */
.file-list { width: 100%; border-collapse: collapse; font-size: 12px; }
.file-list th, .file-list td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #e8e8e8; }
.file-list th { background: #f7f7f7; color: #666; font-weight: 600; }
.file-list tr:hover { background: #eef5fc; }
.file-type { display: inline-block; width: 14px; height: 14px; background: #cfe3f7; border: 1px solid #9cc2e6; vertical-align: middle; margin-right: 4px; }
.file-folder { background: #f5d774; border-color: #d4b145; }
.empty-tip { color: #999; font-size: 12px; padding: 12px 0; }
.explorer-status { margin-top: 10px; padding-top: 8px; border-top: 1px solid #e3e3e3; color: #777; font-size: 11px; }

/* 中间入口卡片 */
.center-body { display: flex; align-items: center; justify-content: center; height: 220px; }
.sys-entry-card {
    width: 220px; text-align: center; padding: 24px 18px;
    border: 1px solid #d4d4d4; background: #fff; cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.sys-entry-card:hover { border-color: #0a6ed1; box-shadow: 0 4px 16px rgba(10,110,209,0.18); }
.sys-entry-logo {
    width: 56px; height: 44px; margin: 0 auto 12px; background: #cfe3f7;
    border: 1px solid #9cc2e6;
}
.sys-entry-name { font-size: 15px; font-weight: 700; color: #1b1b1b; }
.sys-entry-tip { font-size: 11px; color: #888; margin-top: 6px; }

/* 打印隐藏 */
@media print {
    .explorer-window, .explorer-ribbon, .explorer-toolbar, .explorer-address, .explorer-sidebar { display: none !important; }
}

/* ===========================================================
   在职 / 离职证明 现代化模板
   =========================================================== */
.cert-toolbar { display: flex; gap: 10px; margin-bottom: 14px; }
.cert-page {
    position: relative;
    width: 794px; max-width: 100%; margin: 0 auto;
    background: #fff; color: #1b1b1b;
    padding: 56px 64px 48px;
    border: 1px solid #e2e5e9;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    overflow: hidden;
}
/* 顶部色带 */
.cert-page::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px;
    background: linear-gradient(90deg, #0a6ed1, #3aa0ff);
}
.cert-head { text-align: center; margin-bottom: 32px; }
.cert-logo {
    width: 60px; height: 60px; margin: 0 auto 12px;
    object-fit: contain; border: 1px solid #9cc2e6; display: block;
}
.cert-org { font-size: 17px; font-weight: 700; color: #0a224a; }
.cert-doc-title { font-size: 28px; font-weight: 800; letter-spacing: 6px; margin-top: 14px; color: #1b1b1b; }
.cert-doc-sub { font-size: 11px; letter-spacing: 3px; color: #8a96a3; margin-top: 4px; }

.cert-underline-row {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid #e3e8ee;
}
.cert-label { font-size: 13px; color: #555; white-space: nowrap; }
.cert-field {
    flex: 1; min-width: 160px; border: none; border-bottom: 1px solid #9bb0c4;
    padding: 4px 6px; font-size: 14px; outline: none; background: transparent;
}
.cert-field.sm { min-width: 120px; }

.cert-body { font-size: 15px; line-height: 2.1; color: #2a2a2a; text-align: justify; }
.cert-body p { margin: 12px 0; text-indent: 2em; }
.cert-inline {
    display: inline-block; min-width: 120px; border-bottom: 1px dashed #9bb0c4;
    padding: 0 6px; text-align: center; outline: none;
}

.cert-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 40px; }
.cert-seal {
    width: 110px; height: 110px; border-radius: 50%; object-fit: contain;
    transform: rotate(-8deg); opacity: 0.9; display: block;
}
.cert-sign { text-align: right; }
.cert-sign-line { margin-bottom: 8px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.cert-date { font-size: 13px; color: #555; margin-top: 8px; }

.cert-watermark {
    position: absolute; right: 40px; bottom: 30px;
    font-size: 40px; font-weight: 800; color: rgba(10,110,209,0.06);
    letter-spacing: 4px; pointer-events: none;
}

@media print {
    body { background: #fff; }
    .sys-topbar, .sys-nav, .cert-toolbar, .btn-square, .tip { display: none !important; }
    .sys-main { display: block; }
    .sys-content { padding: 0; }
    .cert-page { box-shadow: none; border: none; width: 100%; margin: 0; padding: 24px; }
}

/* ===========================================================
   桌面右下角版权
   =========================================================== */
.desktop-copyright {
    position: absolute; right: 20px; bottom: 52px;
    font-size: 26px; font-weight: 700; color: #0a224a;
    text-shadow: 0 2px 8px rgba(255,255,255,0.6);
    z-index: 55; pointer-events: none; letter-spacing: 1px;
}

/* ===========================================================
   此电脑 右键菜单
   =========================================================== */
.ctx-menu {
    position: fixed; min-width: 150px;
    background: #f3f3f3; border: 1px solid #9a9a9a;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3); z-index: 200; padding: 4px 0;
}
.ctx-item {
    padding: 6px 22px 6px 26px; font-size: 13px; color: #1b1b1b; cursor: pointer;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14'><rect x='1' y='1' width='12' height='12' fill='%230a6ed1'/></svg>") no-repeat 6px center;
}
.ctx-item:hover { background-color: #0a6ed1; color: #fff; }
.ctx-sep { height: 1px; background: #cfcfcf; margin: 4px 2px; }

/* ===========================================================
   此电脑 属性（Windows 7 风格）
   =========================================================== */
.prop-window {
    position: absolute; top: 50px; left: 50%; transform: translateX(-50%);
    width: 560px; background: #fff; border: 1px solid #8a929c;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45); z-index: 30;
}
.prop-title {
    height: 30px; background: #0a6ed1; color: #fff;
    display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 13px;
}
.prop-title-icon { width: 14px; height: 14px; background: #cfe3f7; border: 1px solid #9cc2e6; }
.prop-close {
    margin-left: auto; width: 24px; height: 22px; border: none;
    background: transparent; color: #fff; cursor: pointer; font-size: 13px;
}
.prop-close:hover { background: #e81123; }
.prop-body {
    display: flex; min-height: 300px;
    background: linear-gradient(to bottom, #dcefff 0%, #eef6ff 60%, #ffffff 100%);
    padding: 0;
}
.prop-left {
    width: 180px; padding: 22px 14px; text-align: center;
    border-right: 1px solid #cfe0f2;
}
.prop-logo {
    width: 80px; height: 80px; margin: 0 auto 12px;
    background: #fff url('img/kaiji.png') center / contain no-repeat;
    border: 1px solid #9cc2e6;
}
.prop-oem { font-size: 13px; color: #333; font-weight: 600; line-height: 1.5; }
.prop-right { flex: 1; padding: 16px 22px; }
.prop-win { font-size: 16px; font-weight: 700; color: #1b1b1b; }
.prop-rating { font-size: 12px; color: #555; margin: 4px 0 8px; }
.prop-section { margin: 8px 0; }
.prop-h { font-size: 13px; font-weight: 700; color: #0a224a; margin-bottom: 4px; }
.prop-row { font-size: 12px; color: #333; padding: 2px 0; display: flex; gap: 8px; }
.prop-row span { width: 70px; color: #777; flex-shrink: 0; }
.prop-foot {
    background: #0a224a; color: #fff; font-size: 12px; text-align: center; padding: 8px 0;
}
hr { border: none; border-top: 1px solid #cfe0f2; margin: 8px 0; }
