/* 회사용 위장 화면: 흔한 사무용 프로그램의 일반적인 모양(상표·로고 없음). 테마와 상관없이 늘 밝은 화면. */

html.disguise-on .app, html.disguise-on .tabbar { display: none !important; }
html.disguise-on body { overflow: hidden; background: #fff; }
#disguise { display: none; }
html.disguise-on #disguise {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  background: #fff; color: #222; color-scheme: light;
  font: 12px/1.45 "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: auto;
}
#disguise button { font: inherit; color: inherit; cursor: default; }
.dz-app { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.dz-up { color: #c00000; }
.dz-down { color: #0b5394; }
.dz-link { color: #0563c1; text-decoration: underline; }
.dz-muted { color: #777; }

/* 공통: 보기 메뉴 */
.dz-drop { position: fixed; z-index: 110; display: grid; min-width: 170px; padding: 4px; background: #fff; color: #1f1f1f; color-scheme: light;
  border: 1px solid #c8c8c8; border-radius: 6px; box-shadow: 0 6px 18px rgb(0 0 0 / 0.18);
  font: 13px/1.45 "Pretendard Variable", Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif; }
.dz-drop button { padding: 8px 14px; border: 0; border-radius: 4px; background: none; color: #1f1f1f; font: inherit; text-align: left; cursor: pointer; }
.dz-drop button:hover { background: #f1f3f4; }
.dz-drop button.on { background: #e8f0fe; color: #0b57d0; font-weight: 700; }

/* 표(슬라이드·메일 안) */
.dz-table { border-collapse: collapse; width: 100%; font-size: 12px; }
.dz-table caption { caption-side: bottom; padding-top: 6px; text-align: right; color: #777; font-size: 11px; }
.dz-table th, .dz-table td { padding: 5px 8px; border: 1px solid #cfcfcf; text-align: left; vertical-align: top; }
.dz-table th { background: #f2f2f2; font-weight: 700; }

/* ---------- 사무용 프로그램 틀: 색 제목 줄 · 탭 줄 · 리본 · 상태 줄 (상표·로고 없음) */
.of { --of: #217346; --of-dark: #185c37; --of-tint: #e9f2ec; background: #f3f3f3;
  font: 12px/1.4 "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif; color: #262626; }
.pp-app { --of: #b7472a; --of-dark: #9c3a20; --of-tint: #fbeee9; }
.of .ic { width: 16px; height: 16px; flex: none; stroke-width: 1.7; }
.of-title { display: flex; align-items: center; height: 32px; padding: 0 0 0 8px; background: var(--of); color: #fff; }
.of-qa { display: flex; align-items: center; gap: 12px; width: 280px; }
.of-qa .ic { width: 15px; height: 15px; }
.of-qa i { font-style: normal; font-size: 9px; opacity: 0.8; }
.of-file { flex: 1; text-align: center; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.of-win { display: flex; align-items: stretch; height: 100%; width: 280px; justify-content: flex-end; }
.of-win .ic { width: 46px; height: 32px; padding: 9px 15px; }
.of-user { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: 4px 14px 0 0; border-radius: 50%; background: rgb(255 255 255 / 0.9); color: var(--of); font-size: 11px; font-weight: 700; }
.of-tabs { display: flex; align-items: stretch; height: 30px; padding: 0 6px; background: var(--of); }
.of-tab { display: flex; align-items: center; padding: 0 12px; border: 0; background: none; color: #fff; font: inherit; font-size: 12px; }
#disguise .of-tab { color: #fff; }
#disguise .of-tab.on { color: var(--of); }
button.of-tab:hover { background: var(--of-dark); }
.of-tab.on { margin-top: 3px; background: #f3f3f3; color: var(--of); border-radius: 0; }
.of-tell { display: flex; align-items: center; gap: 6px; margin-left: 14px; padding: 0 8px; color: rgb(255 255 255 / 0.85); }
.of-tell .ic { width: 15px; height: 15px; }
.of-share { display: flex; align-items: center; gap: 6px; margin-left: auto; padding: 0 12px; color: #fff; }
.of-ribbon { display: flex; align-items: stretch; height: 100px; padding: 4px 4px 0; background: #f3f3f3; border-bottom: 1px solid #d5d5d5; overflow: hidden; }
.rb-group { display: flex; flex-direction: column; padding: 0 6px; border-right: 1px solid #d5d5d5; flex: none; }
.rb-items { flex: 1; display: flex; align-items: flex-start; gap: 2px; }
.rb-label { position: relative; height: 18px; text-align: center; color: #666; font-size: 11px; padding: 0 14px; }
.rb-launch { position: absolute; right: 0; bottom: 3px; font-style: normal; font-size: 9px; color: #888; }
.rb-big { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 44px; max-width: 64px; padding: 3px 3px 0; text-align: center; font-size: 11.5px; line-height: 1.2; word-break: keep-all; }
.rb-big .ic { width: 30px; height: 30px; stroke-width: 1.3; color: #444; }
.rb-big:hover, .rb-sm:hover { background: #d5d5d5; }
.rb-stack { display: flex; flex-direction: column; gap: 1px; padding-top: 2px; }
.rb-col { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.rb-row { display: flex; align-items: center; gap: 1px; }
.rb-sm { display: flex; align-items: center; gap: 4px; height: 24px; padding: 0 4px; font-size: 11.5px; white-space: nowrap; color: #333; }
.rb-sm .ic { color: #444; }
.rb-sm i { font-style: normal; font-size: 8px; color: #666; }
.rb-txt b { font-weight: 400; font-size: 13px; }
.rb-txt.b b { font-weight: 800; }
.rb-txt.i b { font-style: italic; }
.rb-txt.u b { text-decoration: underline; }
.rb-txt.st b { text-decoration: line-through; font-size: 11px; }
.rb-txt.sh b { text-shadow: 1px 1px 0 #aaa; }
.rb-txt.s b { font-size: 11px; }
.rb-color { position: relative; }
.rb-color u { position: absolute; left: 4px; bottom: 2px; width: 16px; height: 4px; }
.rb-box { display: flex; align-items: center; justify-content: space-between; height: 22px; padding: 0 4px; margin-right: 3px; background: #fff; border: 1px solid #c6c6c6; font-size: 12px; }
.rb-box i { font-style: normal; font-size: 8px; color: #666; }
.of-status { display: flex; align-items: center; gap: 18px; height: 24px; padding: 0 10px; background: #f3f3f3; border-top: 1px solid #d5d5d5; color: #444; font-size: 12px; }
.of-status > span:first-child { display: flex; gap: 18px; }
.of-sum { flex: 1; text-align: right; white-space: pre; }
.of-mid { flex: 1; display: flex; justify-content: flex-end; gap: 16px; }
.of-mid span { display: inline-flex; align-items: center; gap: 4px; }
.of-mid .ic { width: 14px; height: 14px; }
.of-zoom { display: flex; align-items: center; gap: 8px; }
.of-view { display: grid; place-items: center; width: 22px; height: 20px; }
.of-view.on { background: #d5d5d5; }
.of-view .ic { width: 14px; height: 14px; }
.of-zbtn { font-size: 14px; color: #555; }
.of-ztrack { position: relative; width: 100px; height: 1px; background: #888; }
.of-ztrack span { position: absolute; left: 47px; top: -5px; width: 4px; height: 11px; background: #444; }

/* ---------- 스프레드시트 */
.xl-fbar { display: flex; align-items: center; height: 26px; margin: 6px 0 4px; background: #f3f3f3; }
.xl-name { display: flex; align-items: center; justify-content: space-between; width: 100px; height: 24px; margin-left: 4px; padding: 0 6px; background: #fff; border: 1px solid #c6c6c6; font-size: 12px; }
.xl-name i { font-style: normal; font-size: 8px; color: #666; }
.xl-fbtn { display: flex; align-items: center; gap: 12px; padding: 0 10px; color: #777; font-size: 12px; }
.xl-fbtn i { font-family: "Times New Roman", serif; font-style: italic; color: #333; font-size: 13px; }
.xl-formula { flex: 1; height: 24px; margin-right: 6px; padding: 0 8px; display: flex; align-items: center; background: #fff; border: 1px solid #c6c6c6; white-space: nowrap; overflow: hidden; }
.dz-gridwrap { flex: 1; min-height: 0; overflow: auto; background: #fff; border-top: 1px solid #c6c6c6; }
.xl-grid { border-collapse: collapse; table-layout: fixed; font: 14px "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif; color: #000; }
.xl-grid th { position: sticky; top: 0; z-index: 2; height: 22px; padding: 0; background: #f3f3f3; border: 1px solid #c6c6c6; color: #444; font: 12px "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; text-align: center; }
.xl-grid tbody th { position: sticky; left: 0; z-index: 1; }
.xl-grid .xl-corner { left: 0; z-index: 3; }
.xl-grid .xl-corner span { position: absolute; right: 2px; bottom: 2px; border: 5px solid transparent; border-right-color: #b5b5b5; border-bottom-color: #b5b5b5; }
.xl-grid thead th.on { background: #d2d2d2; color: #1e6b41; border-bottom: 2px solid #217346; }
.xl-grid tbody th.on { background: #d2d2d2; color: #1e6b41; border-right: 2px solid #217346; }
.xl-grid td { height: 22px; padding: 0 4px; border: 1px solid #e1e1e1; white-space: nowrap; overflow: hidden; text-overflow: clip; position: relative; }
.xl-grid td.xl-title { overflow: visible; font-size: 18px; font-weight: 700; z-index: 1; }
.xl-grid td.xl-head { background: #4472c4; color: #fff; font-weight: 700; border-color: #4472c4; padding-right: 22px; }
.xl-grid td.xl-head::after { content: "▾"; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; display: grid; place-items: center; background: #fff; color: #444; border: 1px solid #a6a6a6; font-size: 9px; }
.xl-grid td.xl-band { background: #d9e1f2; border-color: #d9e1f2 #fff; }
.xl-grid td.xl-row { background: #fff; border-color: #fff; border-bottom-color: #d9e1f2; }
.xl-grid td.xl-num { text-align: right; }
.xl-grid td.xl-sel { outline: 2px solid #217346; outline-offset: -1px; z-index: 2; }
.xl-grid td.xl-sel::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 6px; height: 6px; background: #217346; border: 1px solid #fff; }
.xl-grid td.dz-up { color: #c00000; } .xl-grid td.dz-down { color: #0b5394; }
.xl-tabs { display: flex; align-items: stretch; height: 26px; background: #f3f3f3; border-top: 1px solid #c6c6c6; }
.xl-tabnav { display: flex; align-items: center; gap: 12px; padding: 0 12px; color: #a0a0a0; font-size: 9px; }
.xl-tabs button { padding: 0 18px; border: 0; border-right: 1px solid #d5d5d5; background: none; color: #444; font: 12px "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; }
.xl-tabs button.on { background: #fff; color: #217346; font-weight: 700; border-bottom: 3px solid #217346; margin-top: -1px; }
.xl-plus { display: flex; align-items: center; padding: 0 12px; color: #666; font-size: 16px; }

/* ---------- 슬라이드 */
.pp-body { flex: 1; min-height: 0; display: flex; background: #e6e6e6; }
.pp-thumbs { width: 210px; flex: none; overflow-y: auto; padding: 12px 10px; display: grid; align-content: start; gap: 12px; background: #f3f3f3; border-right: 1px solid #d5d5d5; }
.pp-thumb { cursor: default; display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; padding: 0; border: 0; background: none; text-align: left; }
.pp-num { font-size: 12px; color: #444; text-align: right; }
.pp-thumb.on .pp-num { color: var(--of); font-weight: 700; }
.pp-thumb.on .pp-frame { outline: 2px solid var(--of); outline-offset: 2px; }
.pp-stage { flex: 1; min-width: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 26px 30px 0; }
.pp-canvas { container-type: inline-size; position: relative; width: min(100%, 1000px); aspect-ratio: 16 / 9; flex: none; padding: 4.5cqw 6cqw; background: #fff; box-shadow: 0 0 0 1px #d0d0d0, 0 2px 6px rgb(0 0 0 / 0.15); overflow: hidden;
  font-family: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif; color: #000; }
.pp-frame { position: relative; width: 164px; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #c8c8c8; }
.pp-canvas.pp-mini { position: absolute; left: 0; top: 0; width: 1000px; transform: scale(0.164); transform-origin: 0 0; box-shadow: none; pointer-events: none; }
.pp-canvas h2 { margin: 0 0 2.6cqw; font-size: 4cqw; font-weight: 300; line-height: 1.15; color: #262626; }
.pp-cover { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.pp-cover h1 { margin: 0 0 2.2cqw; font-size: 5.8cqw; font-weight: 300; color: #262626; }
.pp-cover p { margin: 0; font-size: 2.4cqw; color: #595959; }
.pp-bullets { margin: 0; padding-left: 2.6cqw; display: grid; gap: 1.4cqw; font-size: 2.1cqw; line-height: 1.4; }
.pp-bullets b { font-weight: 700; }
.pp-canvas .dz-table { font-size: 1.55cqw; border-collapse: collapse; }
.pp-canvas .dz-table th, .pp-canvas .dz-table td { padding: 0.7cqw 1.1cqw; border: 0.12cqw solid #fff; }
.pp-canvas .dz-table th { background: #4472c4; color: #fff; }
.pp-canvas .dz-table tbody tr:nth-child(odd) td { background: #cfd5ea; }
.pp-canvas .dz-table tbody tr:nth-child(even) td { background: #e9ebf5; }
.pp-canvas .dz-table caption { font-size: 1.3cqw; }
.pp-canvas .dz-up { color: #c00000; } .pp-canvas .dz-down { color: #1f4e9a; }
.pp-notes { width: min(100%, 1000px); flex: none; min-height: 86px; margin-top: 14px; padding: 10px 14px; background: #fff; border-top: 1px solid #c8c8c8; color: #262626; font-size: 13px; white-space: pre-line; }
.pp-notes.empty { color: #9a9a9a; }
.pp-shapes { display: grid; grid-template-columns: repeat(6, 18px); gap: 2px; padding: 4px; margin-top: 2px; background: #fff; border: 1px solid #c6c6c6; font-style: normal; }
.pp-shapes i { font-style: normal; font-size: 11px; text-align: center; color: #444; }

/* ---------- 메일: 지메일과 비슷한 배치·색(로고·이름 없음) */
.gm { background: #f6f8fc; color: #1f1f1f; font: 14px/1.45 "Pretendard Variable", Pretendard, "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif; }
.gm .ic { width: 20px; height: 20px; flex: none; }
.gm-ib { display: grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0; border: 0; border-radius: 50%; background: none; color: #444746; }
.gm-ib:hover { background: rgb(68 71 70 / 0.08); }
.gm-top { display: flex; align-items: center; gap: 4px; height: 64px; padding: 8px 16px 8px 8px; }
.gm-brand { display: flex; align-items: center; gap: 8px; width: 214px; padding-left: 6px; font-size: 22px; color: #444746; }
.gm-search { display: flex; align-items: center; gap: 14px; flex: 1; max-width: 720px; height: 48px; padding: 0 16px; border-radius: 24px; background: #e9eef6; color: #444746; }
.gm-search span { flex: 1; font-size: 16px; }
.gm-right { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.gm-me { display: grid; place-items: center; width: 32px; height: 32px; margin-left: 8px; border-radius: 50%; background: #0b57d0; color: #fff; font-size: 14px; font-weight: 700; }
.gm-body-wrap { flex: 1; min-height: 0; display: flex; }
.gm-nav { width: 256px; flex: none; padding: 8px 0; overflow-y: auto; }
.gm-compose { display: inline-flex; align-items: center; gap: 12px; height: 56px; margin: 0 0 16px 8px; padding: 0 24px 0 18px; border-radius: 16px; background: #c2e7ff; color: #001d35; font-weight: 600; box-shadow: none; }
.gm-folder { display: flex; align-items: center; gap: 18px; height: 32px; margin-right: 16px; padding: 0 12px 0 26px; border-radius: 0 16px 16px 0; color: #202124; font-size: 14px; }
.gm-folder .ic { width: 18px; height: 18px; color: #444746; }
.gm-folder span { flex: 1; }
.gm-folder b { font-size: 12px; font-weight: 700; }
.gm-folder.on { background: #d3e3fd; color: #001d35; font-weight: 700; }
.gm-folder.on .ic { color: #001d35; }
.gm-labels { display: flex; justify-content: space-between; align-items: center; margin: 14px 16px 4px 26px; font-size: 16px; color: #1f1f1f; }
.gm-plus { font-size: 22px; color: #444746; }
.gm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; margin: 0 16px 16px 0; background: #fff; border-radius: 16px; overflow: hidden; }
.gm-tools { display: flex; align-items: center; gap: 2px; height: 48px; padding: 0 8px 0 12px; }
.gm-check { display: flex; align-items: center; gap: 0; padding: 0 6px; color: #444746; }
.gm-check .ic { width: 18px; height: 18px; } .gm-check .ic + .ic { width: 14px; height: 14px; }
.gm-count { margin-left: auto; padding-right: 12px; font-size: 12px; color: #444746; }
.gm-cats { display: flex; border-bottom: 1px solid #f1f1f1; }
.gm-cats span { display: flex; align-items: center; gap: 16px; width: 250px; height: 56px; padding: 0 16px; color: #444746; font-size: 14px; border-bottom: 3px solid transparent; }
.gm-cats span.on { color: #0b57d0; font-weight: 700; border-bottom-color: #0b57d0; }
.gm-cats .ic { width: 20px; height: 20px; }
.gm-list { flex: 1; overflow-y: auto; }
.gm-row { display: grid; grid-template-columns: 20px 20px 190px minmax(0, 1fr) 72px; align-items: center; gap: 12px; width: 100%; height: 40px; padding: 0 16px 0 14px;
  border: 0; border-bottom: 1px solid #f1f1f1; background: #fff; color: #1f1f1f; text-align: left; font-size: 14px; cursor: pointer; }
.gm-row .ic { width: 18px; height: 18px; color: #aaa; }
.gm-row:hover { box-shadow: inset 1px 0 0 #dadce0, inset -1px 0 0 #dadce0, 0 1px 2px 0 rgb(60 64 67 / 0.3), 0 1px 3px 1px rgb(60 64 67 / 0.15); position: relative; z-index: 1; }
.gm-row.focus { box-shadow: inset 3px 0 0 #0b57d0; }
.gm-row.read { background: #f2f6fc; }
.gm-sender, .gm-row .gm-line b { font-weight: 700; }
.gm-row.read .gm-sender, .gm-row.read .gm-line b { font-weight: 400; }
.gm-sender { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-line span { color: #5f6368; }
.gm-time { text-align: right; font-size: 12px; font-weight: 700; }
.gm-row.read .gm-time { font-weight: 400; color: #5f6368; }
.gm-read { flex: 1; overflow-y: auto; padding: 8px 24px 32px 72px; }
.gm-subj { display: flex; align-items: center; gap: 12px; margin: 4px 0 16px; }
.gm-subj h1 { margin: 0; font-size: 22px; font-weight: 400; color: #1f1f1f; }
.gm-chip { padding: 0 6px; border-radius: 4px; background: #ddd; color: #666; font-size: 12px; }
.gm-from { display: flex; align-items: center; gap: 12px; margin-left: -56px; }
.gm-av { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; color: #fff; font-size: 16px; font-weight: 600; }
.gm-from div { display: flex; flex-direction: column; }
.gm-from b { font-size: 14px; }
.gm-from small { font-size: 12px; color: #5f6368; }
.gm-when { margin-left: auto; font-size: 12px; color: #5f6368; }
.gm-body { padding: 18px 0 8px; font-size: 14px; }
.gm-body p { margin: 0 0 14px; }
.gm-body .dz-table { font-size: 13px; }
.gm-replies { display: flex; gap: 12px; margin-top: 24px; }
.gm-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 22px 0 16px; border: 1px solid #747775; border-radius: 20px; color: #444746; font-size: 14px; font-weight: 600; }
.gm-pill .ic { width: 18px; height: 18px; }

/* ---------- 터미널 쪽: 위쪽 막대의 가방 버튼과 고르는 메뉴 */
.dz-pick { position: relative; display: none; }
@media (min-width: 820px) { .dz-pick { display: block; } }
.dmenu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 230px; padding: 6px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); }
.dmenu-t { margin: 4px 8px 6px; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.dmenu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 0; border-radius: 7px; background: none; text-align: left; cursor: pointer; }
.dmenu button:hover { background: var(--hover); }
.dmenu button span { display: flex; flex-direction: column; }
.dmenu button b { font-size: 13px; }
.dmenu button small { font-size: 11px; color: var(--muted); }
.dmenu-k { margin: 6px 8px 4px; padding-top: 6px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.dmenu-k kbd { padding: 0 5px; border: 1px solid var(--line-2); border-radius: 4px; font: 600 11px var(--font); }
