/* office-web.css — 웹 모바일 팀 사무실 (office.php, 2026-10-26). 대시보드 기본 테마 색 */
:root {
  /* 활동 기록(activity.css)이 쓰는 대시보드 토큰 */
  --bg-surface: #fff; --bg-sunken: #f9fafb; --border-hairline: #e5e8eb; --radius-s: 8px; --radius-m: 12px; --radius-l: 16px;
  --text-strong: #191f28; --text-normal: #333d4b; --text-weak: #4e5968; --text-disable: #6b7684; --brand-blue: #3182f6;
  --warn-bg: #fff9e7; --warn-text: #8a6208; --danger-bg: #ffeeee; --danger-text: #d22030; --success-bg: #f0faf6; --success-text: #027648;
  --bg: #f2f4f6; --surface: #fff; --line: #e5e8eb; --strong: #191f28; --normal: #333d4b; --weak: #4e5968; --disable: #6b7684;
  --st-work: #2fbf71; --st-idle: #8b7cf6; --st-meeting: #ffb020; --st-away: #9aa2ad; --st-off: #c4c9d0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--normal); line-height: 1.6; word-break: keep-all;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif; }
.ow-head { position: sticky; top: 0; z-index: 2; padding: 10px 16px 0; padding-top: max(10px, env(safe-area-inset-top));
  background: var(--surface); border-bottom: 1px solid var(--line); }
.ow-head-row { display: flex; align-items: center; gap: 10px; }
.ow-tabs { display: flex; gap: 4px; margin-top: 8px; }
.ow-tab { flex: 1; min-height: 44px; border: 0; border-bottom: 3px solid transparent; background: transparent; font: inherit; font-size: 16px; font-weight: 800;
  color: var(--disable); cursor: pointer; white-space: nowrap; }
.ow-tab[aria-selected="true"] { color: var(--strong); border-bottom-color: var(--strong); }
.ow-tab:focus-visible { outline: 2px solid #3182f6; outline-offset: -2px; }
.ow-main--act .act-page { margin-bottom: 0; }
[hidden] { display: none !important; }
.ow-title { margin: 0; font-size: 20px; font-weight: 800; color: var(--strong); }
.ow-count { font-size: 13px; color: var(--disable); white-space: nowrap; }
.ow-link { margin-left: auto; min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px;
  color: var(--normal); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ow-link:focus-visible { outline: 2px solid #3182f6; outline-offset: 2px; }
.ow-main { max-width: 640px; margin: 0 auto; padding: 12px 16px 40px; padding-bottom: max(40px, env(safe-area-inset-bottom)); }
.ow-office { border: 3px solid var(--strong); border-radius: 14px; overflow: hidden; background: #e9e4da; }
.ow-office canvas { display: block; image-rendering: pixelated; }
.ow-live { margin: 6px 2px 0; font-size: 12px; color: var(--disable); }
.ow-sec { margin-top: 18px; }
.ow-sec-t { display: flex; justify-content: space-between; align-items: baseline; margin: 0 2px 8px; }
.ow-sec-t h2 { margin: 0; font-size: 16px; color: var(--strong); }
.ow-sec-t small { font-size: 12px; color: var(--disable); }
.ow-list { list-style: none; margin: 0; padding: 4px 14px; background: var(--surface); border-radius: 14px; }
.ow-list li { display: grid; gap: 8px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ow-list li:last-child { border-bottom: 0; }
.ow-mem { grid-template-columns: 72px 82px minmax(0, 1fr); }
.ow-post { grid-template-columns: 42px 64px minmax(0, 1fr); }
.ow-post.is-me { background: #fffbe6; margin: 0 -8px; padding-left: 8px !important; padding-right: 8px !important; border-radius: 8px; }
.ow-who { font-weight: 800; color: var(--strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ow-st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--strong); white-space: nowrap; }
.ow-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.ow-work { background: var(--st-work); } .ow-idle { background: var(--st-idle); } .ow-meeting { background: var(--st-meeting); }
.ow-away { background: var(--st-away); } .ow-off { background: var(--st-off); }
.ow-doing { min-width: 0; overflow-wrap: anywhere; }
.ow-doing.is-none { color: var(--disable); }
.ow-since { display: block; font-size: 12px; color: var(--disable); font-variant-numeric: tabular-nums; }
.ow-t { color: var(--disable); font-variant-numeric: tabular-nums; }
.ow-body { min-width: 0; overflow-wrap: anywhere; }
.ow-body small { color: var(--disable); }
.ow-list li.ow-empty { display: block; color: var(--disable); }

/* PC 폭(1024px 이상, 2026-10-26 사용자 결정: 시안 desktop/avatar-draft/draft11-office-pc.css)
   본문이 640px 에 묶여 활동 기록 표(760px)가 옆으로 밀리고 이름 칸이 가려졌다. 1200px 로 넓히고 팀 사무실은 그림 | 팀원·글 두 칸 */
@media (min-width: 1024px) {
  .ow-head-row, .ow-tabs { max-width: 1200px; margin-left: auto; margin-right: auto; }
  .ow-tabs { justify-content: flex-start; gap: 8px; }
  .ow-tab { flex: 0 0 auto; padding: 0 20px; }
  .ow-main { max-width: 1200px; padding: 20px 24px 48px; }
  #ow-office-panel:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr); column-gap: 24px;
    grid-template-areas: "office team" "office feed" "live feed"; align-items: start; }
  #ow-office-panel .ow-office { grid-area: office; }
  #ow-office-panel .ow-live { grid-area: live; }
  #ow-office-panel .ow-sec:nth-of-type(1) { grid-area: team; margin-top: 0; }
  #ow-office-panel .ow-sec:nth-of-type(2) { grid-area: feed; }
  .ow-list li { font-size: 15px; }
  /* 활동 기록: 글자·막대를 키운다 (office.php 만. 대시보드 활동 기록은 그대로) */
  .act-page { padding: 24px 28px 28px; }
  .act-tbl th { font-size: 14px; }
  .act-tbl td { font-size: 15px; padding: 16px 10px 14px; }
  .act-name { font-size: 16px; }
  .act-bar { height: 28px; }
  .act-axis { font-size: 12px; height: 18px; }
  .act-num b { font-size: 17px; }
  .act-num small { font-size: 13px; }
  .act-flag { font-size: 13px; padding: 2px 8px; }
}
