/* ============================================
   《第七个工位》氛围皮肤 v1.0
   老办公系统三件套：米灰底 / 宋体 / 褪色蓝
   铁律：只改外观，不动逻辑与文案；删本文件即回退
   分工：噪点/暗角/扫描线由 egg.js C1 复古皮肤提供（默认开启），本文件负责配色/字体/组件/状态栏
   ============================================ */

/* ===== P0 全局基调 ===== */
html { background-color: #f4f3ee; }
body {
  background: #f4f3ee !important;
  color: #2e2e2e !important;
  font-family: "SimSun", "Songti SC", "STSong", "NSimSun", serif !important;
  padding-bottom: 34px !important;   /* 给底部状态栏让位 */
}

/* 褪色蓝链接（老式超链接） */
a { color: #3b5b8c !important; }
/* 按钮式链接不适用褪色蓝：恢复白字（蓝底上褪色蓝字几乎不可见） */
.assist-card .go { color: #fff !important; }

/* 去圆角：老系统没有圆角设计语言 */
*, *::before, *::after { border-radius: 0 !important; }

/* 选中文字：老 IE 蓝 */
::selection { background: #d8e4f0; }

/* ===== 贴底 fixed 元素让位（fixed 不吃 body padding，抽屉/弹层会被状态栏压住） ===== */
.drawer { height: calc(100% - 26px) !important; }

/* ===== 底部状态栏（全站氛围核心件：服务器时间刻意停在剧本时间轴）===== */
html::before {
  content: '内部办公系统 v3.2 ｜ 当前用户：小原 ｜ 服务器时间 2019-08-29 23:47';
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 26px; line-height: 26px;
  padding: 0 12px;
  background: #4a5a6a; color: #d8d8d0;
  font-size: 12px; font-family: "SimSun", "Songti SC", serif;
  z-index: 99998;
  white-space: nowrap; overflow: hidden;
}

/* ===== P1 组件触感 ===== */
/* 老式凸起按钮：上左高光 / 下右阴影，按下位移 1px 内凹 */
button, .btn, [class*="btn"], [class*="Btn"] {
  border: 1px solid #9c9c90 !important;
  background: #e8e7df !important;
  color: #2e2e2e !important;
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #b8b8ae !important;
  text-shadow: none !important;
}
button:active, .btn:active, [class*="btn"]:active, [class*="Btn"]:active {
  transform: translate(1px, 1px);
  box-shadow: inset 1px 1px 0 #b8b8ae, inset -1px -1px 0 #ffffff !important;
}

/* 输入框：白底内凹，聚焦不发光的深边框 */
input[type="text"], input[type="password"], input[type="number"], input:not([type]), textarea, select {
  background: #ffffff !important;
  border: 1px solid #9c9c90 !important;
  box-shadow: inset 1px 1px 0 #c9c9c0, inset -1px -1px 0 #ffffff !important;
  color: #2e2e2e !important;
  font-family: inherit !important;
}
input:focus, textarea:focus, select:focus {
  outline: none !important;
  border-color: #6b6b60 !important;
  box-shadow: inset 1px 1px 0 #c9c9c0 !important;
}

/* 方形滚动条（老系统没有悬浮胶囊） */
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: #f4f3ee; }
::-webkit-scrollbar-thumb { background: #b8b8ae; border: 2px solid #f4f3ee; border-radius: 0; }

/* ===== P2 页面氛围件 ===== */

/* --- 论坛（index）：老 BBS 页脚 --- */
.footer { color: #8a8a80 !important; border-top: 1px solid #c9c9c0; padding-top: 12px !important; }
.footer a { color: #3b5b8c !important; }
.f-brand { color: #6b6b60 !important; font-size: 11px; letter-spacing: 1px; }

/* --- 聊天（chat）：2019 老 IM 灰蓝气泡 --- */
.msg .bub { background: #eef0f3 !important; box-shadow: none !important; border: 1px solid #d5d8dc !important; }
.msg.me .bub { background: #cfe0ea !important; border-color: #b8ccda !important; }
/* 系统提示行：老系统公告条 */
.sys-line { color: #6b6b60 !important; }
.notice-card { border: 1px solid #c9c9c0 !important; background: #f7f6f1 !important; box-shadow: none !important; }

/* --- 内网（internal）：公告红头文件感 --- */
.sysnotice { border-left: 3px solid #8c3a3a !important; background: #fdfbf7 !important; }
.sn-title { color: #8c3a3a !important; font-weight: bold !important; }

/* --- 档案库（archive）：牛皮纸 --- */
.arc-card { background: #f2ead8 !important; border: 1px solid #d8c9a8 !important; }
.arc-card .arc-title { color: #3a3a35 !important; }
.arc-card.current .arc-title { color: #3b5b8c !important; }

/* --- 搜索（search）：老搜索引擎下划线链接 --- */
.result-item a, .result-desc a { text-decoration: underline !important; }
