/* 林间值班员工作台：独立样式，避免旧版 core-app.css 缓存把窗口卡死 */
.officer-badge[hidden] { display: none !important; }
.lp-nav-right { flex-shrink: 0; overflow: visible; }
.officer-desk-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2400 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px !important;
  background: rgba(18, 28, 26, 0.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.officer-desk-overlay.show { display: flex !important; }
.officer-desk-box {
  position: relative;
  width: min(640px, 100%) !important;
  max-width: 640px !important;
  max-height: min(90vh, 880px) !important;
  overflow: auto;
  padding: 20px 22px 18px !important;
  border-radius: 20px;
  background: var(--qq-bg);
  border: 1px solid rgba(74, 86, 79, 0.16);
  box-shadow: 0 24px 64px rgba(10, 24, 28, 0.28);
  color: #24332e;
}
.officer-desk-close {
  position: absolute;
  top: 12px;
  right: 12px;
  float: none;
  z-index: 8;
  width: 40px;
  height: 40px;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #5b6b66;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.officer-desk-close:hover { background: rgba(0, 0, 0, 0.12); }
.officer-desk-hd { clear: both; margin-bottom: 8px; padding-right: 44px; }
.officer-desk-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #6b7c76;
}
.officer-desk-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
}
.officer-desk-lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #4d5f59;
}
.officer-desk-status {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #e6e9e7;
  color: #5c6560;
  font-size: 13px;
}
.officer-desk-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px;
  clear: both;
  margin-top: 14px;
}
.officer-desk-card {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(74, 86, 79, 0.12);
}
.officer-desk-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.officer-suggest-lead {
  margin: 0 0 12px;
  color: #5e6562;
  font-size: 13px;
  line-height: 1.55;
}
.officer-suggest-list { display: flex; flex-direction: column; gap: 10px; }
.officer-suggest-item {
  padding: 12px;
  border-radius: 12px;
  background: #f2f3f2;
  font-size: 14px;
  line-height: 1.6;
}
.officer-suggest-item p { margin: 6px 0; }
.officer-suggest-meta { color: #5e6562; font-size: 12px; }
.officer-suggest-reply { color: #1f4a3e; }
.officer-chat-reply { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.officer-chat-reply textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 64px;
  padding: 8px 10px;
  border: 1px solid rgba(31, 74, 62, 0.16);
  border-radius: 12px;
  background: #f7f8f7;
  color: #1c1e1d;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
}
body.dark-theme .officer-chat-reply textarea {
  background: #1e2220;
  color: #d5ddd8;
  border-color: rgba(213, 221, 216, 0.16);
}
.officer-suggest-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.officer-suggest-reply-btn,
.officer-suggest-aside-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.officer-suggest-reply-btn {
  border: 0;
  background: #1f4a3e;
  color: #f7f3ea;
}
.officer-suggest-aside-btn {
  border: 1px solid rgba(31, 74, 62, 0.35);
  background: transparent;
  color: #1f4a3e;
}
body.dark-theme .officer-suggest-item { background: #1e2220; color: #d5ddd8; }
body.dark-theme .officer-suggest-reply { color: #9dcebb; }
body.dark-theme .officer-suggest-reply-btn { background: #2f6a58; }
body.dark-theme .officer-suggest-aside-btn { border-color: rgba(157, 206, 187, 0.4); color: #9dcebb; }
.officer-desk-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px;
  width: 100% !important;
  margin: 0 0 12px;
}
.officer-desk-field span {
  font-size: 12px;
  color: #5b6b66;
}
.officer-desk-field input,
.officer-desk-field textarea {
  display: block;
  width: 100% !important;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #d7e0dc;
  border-radius: 10px;
  background: #fbfaf7;
  font: inherit;
  color: inherit;
  resize: vertical;
}
.officer-desk-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13px;
}
.officer-desk-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--qq-btn);
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.officer-desk-btn:hover { background: var(--qq-btn-hover); }
.officer-desk-logout {
  width: 100%;
  margin-top: 8px;
  border: none;
  background: none;
  color: #8a5a4a;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.header-duty-btn {
  margin-right: 8px;
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--qq-btn);
  color: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.header-duty-btn[hidden] { display: none !important; }
.site-announce {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: min(720px, calc(100% - 32px));
  margin: 0 auto 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 248, 230, 0.98), rgba(232, 244, 236, 0.98));
  border: 1px solid rgba(45, 106, 90, 0.12);
}
.site-announce[hidden] { display: none !important; }
.site-announce-text {
  white-space: nowrap;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .officer-desk-box { width: calc(100vw - 20px); max-width: none; padding: 16px 14px 14px !important; }
}

body.dark-theme .officer-desk-box { background: #1e2220; color: #d5ddd8; }
body.dark-theme .officer-desk-card { background: #272c29; border-color: rgba(213, 221, 216, 0.12); }
body.dark-theme .officer-desk-field input,
.officer-library-card {
  margin: 12px 0 18px;
  padding: 16px;
}
.officer-library-card h4 {
  margin: 12px 0 8px;
  font-size: 14px;
}
.officer-lib-lead {
  margin: 0 0 8px;
  font-size: 13px;
  color: #5b6b66;
  line-height: 1.55;
}
.officer-lib-empty { font-size: 13px; color: #8a9691; }
.officer-lib-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(74, 86, 79, 0.12);
}
.officer-lib-item p { margin: 4px 0 0; font-size: 13px; color: #4d5f59; }
.officer-lib-actions { display: flex; gap: 8px; flex-shrink: 0; }
.officer-lib-actions button {
  border: none;
  background: none;
  color: var(--qq-link);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.officer-lib-pin {
  display: inline-block;
  margin-right: 6px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #6e6962;
  background: rgba(74, 86, 79, 0.28);
}
.officer-lib-item.is-pinned {
  background: rgba(74, 86, 79, 0.08);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 8px;
}
