/* 平台管理工作台，延续纸色与朱红的界面风格。 */
body:has(.office-page), body:has(.office-message) { min-width: 0; }
.office-page { min-height: 100vh; background: #f5f2eb; }
.office-page a { text-decoration: none; }
.office-topbar { height: 70px; padding: 0 30px; gap: 18px; }
.office-topbar .brand { color: var(--ink); }
.office-account { color: #8a7964; font-size: 12px; }
.office-shell { display: grid; grid-template-columns: 190px minmax(0, 1fr); max-width: 1540px; margin: 0 auto; }
.office-nav { display: flex; flex-direction: column; gap: 7px; padding: 30px 16px; border-right: 1px solid #e4dccd; position: sticky; top: 70px; align-self: start; height: calc(100vh - 70px); }
.office-eyebrow { color: #9a7c5e; letter-spacing: 2px; font-size: 10px; text-transform: uppercase; }
.office-nav > .office-eyebrow { margin: 0 12px 16px; }
.office-nav button { border: 0; background: none; color: #7f715f; padding: 12px 15px; border-radius: 8px; text-align: left; font-size: 13px; }
.office-nav button:hover { background: #eee7db; }
.office-nav button[aria-current] { background: #eadfce; color: #8c3b2c; font-weight: 600; box-shadow: inset 3px 0 #9a3b2e; }
.office-nav > a { color: #9b7c5f; font-size: 12px; padding: 22px 15px; margin-top: auto; }
.office-main { padding: 30px clamp(18px, 3vw, 42px) 50px; min-width: 0; }
.office-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.office-heading h2 { margin: 8px 0 9px; font-size: 28px; letter-spacing: 2px; font-weight: 500; font-family: var(--serif); }
.office-heading p { margin: 0; font-size: 11px; color: #9a8c79; }
.office-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.office-metric { text-align: left; background: #fffcf6; border: 1px solid #e3d9c8; border-radius: 12px; padding: 20px; transition: border-color .15s, box-shadow .15s; min-width: 0; }
.office-metric:hover { border-color: #b69c78; box-shadow: 0 4px 18px #493a2010; }
.office-metric > span { display: block; color: #8d7a62; font-size: 12px; }
.office-metric strong { display: block; font-family: Georgia, serif; color: #483b2e; font-size: clamp(23px, 2.4vw, 34px); font-weight: 400; margin: 13px 0 12px; overflow-wrap: anywhere; }
.office-metric small { display: block; color: #a18f77; font-size: 10px; line-height: 1.7; }
.office-two-columns { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; margin-bottom: 22px; align-items: start; }
.office-panel { border: 1px solid #e2d8c7; background: #fffcf6; border-radius: 12px; padding: 24px; min-width: 0; }
.office-panel h3 { margin: 0 0 20px; font-size: 16px; font-weight: 500; font-family: var(--serif); letter-spacing: 1px; }
.office-panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.office-panel-head h3 { margin: 0; }
.office-page select, .office-page input { border: 1px solid #dcd0bc; background: #fffefb; color: #6d5d48; border-radius: 7px; padding: 9px 11px; font-size: 12px; }
.office-chart-total { color: #a08d72; font-size: 11px; margin: 0 0 15px; }
.office-chart-total strong { color: #765b3b; font-size: 19px; margin-left: 6px; font-weight: 400; }
.office-chart-scroll { overflow-x: auto; }
.office-chart { display: grid; grid-template-columns: repeat(14, 1fr); gap: 7px; min-width: 390px; }
.office-day { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.office-day > span { font-size: 10px; color: #9b8568; }
.office-day small { font-size: 9px; color: #a89578; white-space: nowrap; }
.office-bar-track { height: 100px; width: min(21px, 100%); display: flex; flex-direction: column; justify-content: flex-end; background: #f5efe4; border-bottom: 1px solid #daceb9; border-radius: 3px 3px 0 0; }
.office-bar-track i { width: 100%; background: #b77f5e; border-radius: 3px 3px 0 0; display: block; }
.office-note { font-size: 11px; color: #9a8a72; line-height: 1.9; margin: 15px 0 0; }
.office-panel-head .office-note { margin: 0; }
.office-interactions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 9px 0 12px; }
.office-interactions strong { display: block; font-family: Georgia, serif; font-size: 25px; font-weight: 400; color: #674d34; overflow-wrap: anywhere; }
.office-interactions span { display: block; font-size: 11px; color: #9d8970; margin-top: 9px; }
.office-license-summary { font-size: 12px; color: #8b7356; padding: 19px 0; }
.office-license-summary b { font-weight: 500; }
.office-license-summary span { margin: 0 9px; }
.office-activity { list-style: none; padding: 0; margin: 0; }
.office-activity li { display: grid; grid-template-columns: 64px 1fr; gap: 5px 10px; border-bottom: 1px solid #eee4d5; padding: 12px 0; font-size: 12px; }
.office-event-type { color: #a2805f; font-size: 10px; padding-top: 4px; }
.office-activity button { border: 0; background: transparent; color: #6d5840; text-align: left; padding: 0; line-height: 1.8; overflow-wrap: anywhere; }
.office-activity button:hover { color: #9a3b2e; }
.office-activity time { grid-column: 2; color: #ab987f; font-size: 10px; }
.office-attention { display: block; width: 100%; text-align: left; border: 1px solid #e7d9bf; border-radius: 8px; padding: 14px; background: #f8f0df; margin-bottom: 12px; }
.office-attention b { display: block; color: #8b653c; font-size: 12px; font-weight: 500; line-height: 1.7; }
.office-attention span { display: block; color: #a38a68; font-size: 11px; margin-top: 8px; line-height: 1.7; }
.office-list-tools { display: flex; gap: 12px; padding-bottom: 16px; }
.office-list-tools input { flex: 1; min-width: 100px; max-width: 460px; }
.office-result-count { font-size: 11px; color: #a28e70; margin: 0 0 14px; }
.office-table-scroll { overflow-x: auto; }
.office-table { border-collapse: collapse; width: 100%; font-size: 12px; }
.office-table th { text-align: left; font-size: 11px; color: #957c5c; font-weight: 500; padding: 13px 12px; background: #f4eddf; white-space: nowrap; }
.office-table td { padding: 17px 12px; border-bottom: 1px solid #ece2d2; line-height: 1.8; color: #736048; vertical-align: top; min-width: 85px; max-width: 340px; overflow-wrap: anywhere; }
.office-table td small { display: block; color: #aa9678; font-size: 10px; margin-top: 4px; }
.office-time { display: block; font-size: 11px; min-width: 110px; color: #978164; }
.office-details summary { color: #795939; cursor: pointer; min-width: 120px; }
.office-details p { font-size: 11px; color: #9b8366; line-height: 1.9; overflow-wrap: anywhere; }
.office-post-content { white-space: pre-wrap; min-width: 210px; }
.office-link { color: #9b4c32; font-size: 12px; padding: 0; border: 0; background: none; cursor: pointer; white-space: nowrap; }
.office-link:hover { text-decoration: underline; }
.office-badge { display: inline-block; font-size: 10px; padding: 3px 7px; border-radius: 4px; background: #eaf0df; color: #79845c; white-space: nowrap; }
.office-warning { background: #f5e6d1; color: #a77b44; }
.office-pagination { display: flex; gap: 18px; align-items: center; justify-content: flex-end; padding-top: 19px; font-size: 11px; color: #a18864; }
.office-pagination .btn { font-size: 12px; }
.office-empty { padding: 30px 10px !important; text-align: center; font-size: 12px; color: #a68f6f; }
.office-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 15px; font-size: 12px; line-height: 1.8; }
.office-facts dt { color: #a68d6c; }
.office-facts dd { margin: 0; color: #715639; text-align: right; }
.office-facts small { display: block; font-size: 10px; color: #ac9472; }
.office-storage-total { font-family: Georgia, serif; font-size: 29px; margin: 0 0 23px; color: #745739; }
.office-definitions { padding-left: 17px; margin: 0; color: #9e8564; font-size: 12px; line-height: 2; }
.office-definitions li { margin-bottom: 9px; }
.office-message { padding: 90px 24px; text-align: center; line-height: 2; color: #907657; }
.office-message h2 { font-size: 22px; font-family: var(--serif); font-weight: 500; }
.office-sr { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.office-page :focus-visible { outline: 2px solid #aa6851; outline-offset: 3px; }
@media (max-width: 1150px) {
  .office-shell { grid-template-columns: 155px minmax(0, 1fr); }
  .office-main { padding: 24px 20px; }
  .office-metric { padding: 16px; }
  .office-two-columns { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .office-shell { display: block; }
  .office-nav { position: static; height: auto; flex-direction: row; padding: 12px 16px; overflow-x: auto; border-right: 0; border-bottom: 1px solid #e4dccd; }
  .office-nav > .office-eyebrow, .office-nav > a { display: none; }
  .office-nav button { flex-shrink: 0; padding: 10px 13px; }
  .office-nav button[aria-current] { box-shadow: inset 0 -2px #9a3b2e; }
  .office-topbar { padding: 0 16px; height: 65px; }
  .office-topbar .brand .sub, .office-account { display: none; }
  .office-topbar .brand h1 { font-size: 16px; }
  .office-main { padding: 23px 16px; }
  .office-heading h2 { font-size: 25px; }
  .office-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .office-panel { padding: 18px; }
  .office-list-tools { flex-wrap: wrap; }
  .office-list-tools input { width: 100%; max-width: none; }
  .office-list-tools select { max-width: 100%; }
}
